summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/tlecarrour.mdwn25
-rw-r--r--user/tlecarrour/gphoto2.mdwn53
-rw-r--r--user/tlecarrour/libgphoto2.mdwn51
-rw-r--r--user/tlecarrour/pidgin-microblog.mdwn57
-rw-r--r--user/tlecarrour/schism.mdwn116
-rw-r--r--user/tlecarrour/shush.mdwn75
-rw-r--r--user/tlecarrour/sitecopy.mdwn73
7 files changed, 444 insertions, 6 deletions
diff --git a/user/tlecarrour.mdwn b/user/tlecarrour.mdwn
index ed9a6ff1..46ab6c80 100644
--- a/user/tlecarrour.mdwn
+++ b/user/tlecarrour.mdwn
@@ -30,9 +30,22 @@ my [[porting guide for dummies|porting_guide_for_dummies]].
For each patch make sure to respect the [[patch life cycle|patch_life_cycle]].
-* [[memstat]] (PATH_MAX), **stopped**
-* [[auto-apt]] (PATH_MAX), **submitted**
-* [[rng-tools]] (PATH_MAX), **discussing**
-* [[suckless-tools]] (PATH_MAX), **submitted**
-* [[up-imapproxy]] (PATH_MAX), **discussing**
-* [[sakura]] (PATH_MAX), **submitted**
+* Candidates
+ * [[gphoto2]] (PATH_MAX)
+ * [[libgphoto2]] (function doesn't accept `NULL` buffer)
+ * [[pidgin-microblog]] (PATH_MAX)
+ * [[schism]] (PATH_MAX)
+ * [[shush]] (PATH_MAX)
+ * [[sitecopy]] (PATH_MAX)
+* Work in progress
+ * [[auto-apt]] (PATH_MAX), **submitted**
+ * [[rng-tools]] (PATH_MAX), **discussing**
+ * [[suckless-tools]] (PATH_MAX), **submitted**
+ * [[up-imapproxy]] (PATH_MAX), **discussing**
+ * [[sakura]] (PATH_MAX), **submitted**
+* Accepted
+ * -
+* Stopped
+ * [[memstat]] (PATH_MAX)
+
+
diff --git a/user/tlecarrour/gphoto2.mdwn b/user/tlecarrour/gphoto2.mdwn
new file mode 100644
index 00000000..e5f80bbf
--- /dev/null
+++ b/user/tlecarrour/gphoto2.mdwn
@@ -0,0 +1,53 @@
+[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!tag open_issue_porting]]
+
+
+gphoto2
+=======
+
+The gphoto2 digital camera command-line client.
+**Home page**: [[http://www.gphoto.org/proj/libgphoto2]]
+
+[[!toc startlevel=2]]
+
+
+* * *
+
+
+Log
+---
+
+* **Started**: -
+* **Discussed**: -
+* **Draft Submitted**: -
+* **Submitted**: -
+* **Accepted**: -
+
+
+* * *
+
+
+ToDo
+----
+
+Only one file relies on `PATH_MAX`: gphoto2/main.c
+First need to patch [[libgphoto2]] package.
+
+
+* * *
+
+
+Comments
+--------
+
+Not yet started.
+
diff --git a/user/tlecarrour/libgphoto2.mdwn b/user/tlecarrour/libgphoto2.mdwn
new file mode 100644
index 00000000..fd18b7ae
--- /dev/null
+++ b/user/tlecarrour/libgphoto2.mdwn
@@ -0,0 +1,51 @@
+[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!tag open_issue_porting]]
+
+
+libgphoto2
+==========
+
+ImpulseTracker clone aiming at providing the same look&feel.
+**Home page**: [[http://www.gphoto.org/proj/libgphoto2]]
+
+[[!toc startlevel=2]]
+
+
+* * *
+
+
+Log
+---
+
+* **Started**: -
+* **Discussed**: -
+* **Draft Submitted**: -
+* **Submitted**: -
+* **Accepted**: -
+
+
+* * *
+
+
+ToDo
+----
+
+Fix `gphoto2-settings.c:gp_setting_get()` to accept `NULL` pointer and do the allocation.
+This is a requirement for [[gphoto2]] patch.
+
+* * *
+
+
+Comments
+--------
+
+Not yet started.
diff --git a/user/tlecarrour/pidgin-microblog.mdwn b/user/tlecarrour/pidgin-microblog.mdwn
new file mode 100644
index 00000000..13e37c00
--- /dev/null
+++ b/user/tlecarrour/pidgin-microblog.mdwn
@@ -0,0 +1,57 @@
+[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!tag open_issue_porting]]
+
+
+pidgin-microblog
+================
+
+Microblogging plugins for Pidgin.
+**Home page**: [[http://code.google.com/p/microblog-purple/]]
+
+[[!toc startlevel=2]]
+
+
+* * *
+
+
+Log
+---
+
+* **Started**: -
+* **Discussed**: -
+* **Draft Submitted**: -
+* **Submitted**: -
+* **Accepted**: -
+
+
+* * *
+
+
+ToDo
+----
+
+Here is the output of `grep -R PATH_MAX pidgin-microblog-0.3.0/*`:
+
+ pidgin-microblog-0.3.0/microblog/mb_cache.c:static char cache_base_dir[PATH_MAX] = "";
+ pidgin-microblog-0.3.0/microblog/mb_cache.c:snprintf(cache_base_dir, PATH_MAX, "%s/mbpurple", user_dir);
+
+The `cache_base_dir` is static but should only be called through a getter.
+If it has not been initialized, return "" from the getter.
+
+* * *
+
+
+Comments
+--------
+
+Not yet started.
+
diff --git a/user/tlecarrour/schism.mdwn b/user/tlecarrour/schism.mdwn
new file mode 100644
index 00000000..3f726832
--- /dev/null
+++ b/user/tlecarrour/schism.mdwn
@@ -0,0 +1,116 @@
+[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!tag open_issue_porting]]
+
+
+schism
+======
+
+ImpulseTracker clone aiming at providing the same look&feel.
+**Home page**: [[http://nimh.org/schismtracker]]
+
+[[!toc startlevel=2]]
+
+
+* * *
+
+
+Log
+---
+
+* **Started**: -
+* **Discussed**: -
+* **Draft Submitted**: -
+* **Submitted**: -
+* **Accepted**: -
+
+
+* * *
+
+
+ToDo
+----
+
+Here is the output of `grep -R PATH_MAX schism-0+20110101/*`:
+
+ include/disko.h: char tempname[PATH_MAX];
+ include/disko.h: char filename[PATH_MAX];
+ include/headers.h:# undef PATH_MAX
+ schism/disko.c: if (len + 6 >= PATH_MAX) {
+ schism/audio_loadsave.c:char song_filename[PATH_MAX + 1];
+ schism/audio_loadsave.c: strncpy(song_filename, file, PATH_MAX);
+ schism/audio_loadsave.c: song_filename[PATH_MAX] = '\0';
+ schism/page_loadmodule.c:static char filename_entry[PATH_MAX + 1] = "";
+ schism/page_loadmodule.c:static char dirname_entry[PATH_MAX + 1] = "";
+ schism/page_loadmodule.c:char cfg_module_pattern[PATH_MAX + 1] = GLOB_DEFAULT;
+ schism/page_loadmodule.c:static char glob_list_src[PATH_MAX + 1] = ""; // the pattern used to make glob_list (this is an icky hack)
+ schism/page_loadmodule.c: strncpy(glob_list_src, globspec, PATH_MAX);
+ schism/page_loadmodule.c: glob_list_src[PATH_MAX] = '\0';
+ schism/page_loadmodule.c: strncpy(cfg_dir_modules, ptr, PATH_MAX);
+ schism/page_loadmodule.c: cfg_dir_modules[PATH_MAX] = 0;
+ schism/page_loadmodule.c: create_textentry(widgets_loadmodule + 2, 13, 46, 64, 0, 3, 3, NULL, filename_entry, PATH_MAX);
+ schism/page_loadmodule.c: create_textentry(widgets_loadmodule + 3, 13, 47, 64, 2, 3, 0, NULL, dirname_entry, PATH_MAX);
+ schism/page_loadmodule.c: create_textentry(widgets_exportsave + 2, 13, 46, 64, 0, 3, 3, NULL, filename_entry, PATH_MAX);
+ schism/page_loadmodule.c: create_textentry(widgets_exportsave + 3, 13, 47, 64, 2, 0, 0, NULL, dirname_entry, PATH_MAX);
+ schism/util.c: char buf[PATH_MAX];
+ schism/util.c: if (strlen(filename) > PATH_MAX - 16) {
+ schism/util.c: char buf[PATH_MAX + 1];
+ schism/util.c: if (getcwd(buf, PATH_MAX))
+ schism/util.c: char buf[PATH_MAX + 1];
+ schism/util.c: if (getcwd(buf, PATH_MAX))
+ schism/util.c: char buf[PATH_MAX + 1];
+ schism/util.c: char buf[PATH_MAX];
+ schism/util.c: char buf2[PATH_MAX];
+ schism/util.c: if (!GetCurrentDirectory(PATH_MAX-1,buf)) return 0;
+ schism/util.c: snprintf(buf2, PATH_MAX-2, "%s.bat", name);
+ schism/main.c: strncpy(cfg_dir_modules, initial_dir, PATH_MAX);
+ schism/main.c: cfg_dir_modules[PATH_MAX] = 0;
+ schism/main.c: strncpy(cfg_dir_samples, initial_dir, PATH_MAX);
+ schism/main.c: cfg_dir_samples[PATH_MAX] = 0;
+ schism/main.c: strncpy(cfg_dir_instruments, initial_dir, PATH_MAX);
+ schism/main.c: cfg_dir_instruments[PATH_MAX] = 0;
+ schism/page_loadinst.c:static char inst_cwd[PATH_MAX+1] = "";
+ schism/page_loadinst.c:static char slash_search_str[PATH_MAX];
+ schism/page_loadinst.c: strncpy(cfg_dir_instruments, ptr, PATH_MAX);
+ schism/page_loadinst.c: cfg_dir_instruments[PATH_MAX] = 0;
+ schism/page_loadinst.c: strncpy(inst_cwd, ptr, PATH_MAX);
+ schism/page_loadinst.c: inst_cwd[PATH_MAX] = 0;
+ schism/page_loadinst.c: if (slash_search_mode < PATH_MAX) {
+ schism/config.c:char cfg_dir_modules[PATH_MAX + 1], cfg_dir_samples[PATH_MAX + 1], cfg_dir_instruments[PATH_MAX + 1],
+ schism/config.c: cfg_dir_dotschism[PATH_MAX + 1], cfg_font[NAME_MAX + 1];
+ schism/config.c: strncpy(cfg_dir_dotschism, ptr, PATH_MAX);
+ schism/config.c: cfg_dir_dotschism[PATH_MAX] = 0;
+ schism/config.c: cfg_get_string(&cfg, "Directories", "modules", cfg_dir_modules, PATH_MAX, tmp);
+ schism/config.c: cfg_get_string(&cfg, "Directories", "samples", cfg_dir_samples, PATH_MAX, tmp);
+ schism/config.c: cfg_get_string(&cfg, "Directories", "instruments", cfg_dir_instruments, PATH_MAX, tmp);
+ schism/config.c: strncpy(cfg_module_pattern, ptr, PATH_MAX);
+ schism/config.c: cfg_module_pattern[PATH_MAX] = 0;
+ schism/page_vars.c: cfg_dir_modules, PATH_MAX);
+ schism/page_vars.c: cfg_dir_samples, PATH_MAX);
+ schism/page_vars.c: cfg_dir_instruments, PATH_MAX);
+ schism/page_loadsample.c:static char current_filename[PATH_MAX];
+ schism/page_loadsample.c:static char search_str[PATH_MAX];
+ schism/page_loadsample.c: PATH_MAX-1);
+ schism/page_loadsample.c: PATH_MAX-1);
+ schism/page_loadsample.c: strncpy(cfg_dir_samples, ptr, PATH_MAX);
+ schism/page_loadsample.c: cfg_dir_samples[PATH_MAX] = 0;
+ schism/page_loadsample.c: if (search_pos < PATH_MAX) {
+
+
+* * *
+
+
+Comments
+--------
+
+Not yet started.
+
+Looks like a lot, but most of them, if not all, are trivial.
diff --git a/user/tlecarrour/shush.mdwn b/user/tlecarrour/shush.mdwn
new file mode 100644
index 00000000..68a824f0
--- /dev/null
+++ b/user/tlecarrour/shush.mdwn
@@ -0,0 +1,75 @@
+[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!tag open_issue_porting]]
+
+
+shush
+=====
+
+Runs a command and optionally reports its output by mail.
+**Home page**: [[http://web.taranis.org/shush]]
+
+[[!toc startlevel=2]]
+
+
+* * *
+
+
+Log
+---
+
+* **Started**: -
+* **Discussed**: -
+* **Draft Submitted**: -
+* **Submitted**: -
+* **Accepted**: -
+
+
+* * *
+
+
+ToDo
+----
+
+Here is the output of `grep -R PATH_MAX shush-1.2.3/*`:
+
+ src/shush.c: char cfdir[PATH_MAX+1], *slfac, *to[3];
+ src/shush.c: strlcpy(cfdir+1, optarg, PATH_MAX);
+ src/shush.c: snprintf(cfdir+1, PATH_MAX, "%s/.shush", getenv("HOME"));
+ src/crontab.c: static char cfname[PATH_MAX];
+ src/crontab.c: snprintf(cfname, PATH_MAX, "%s/schedule", cfdname);
+ src/crontab.c: snprintf(cfname, PATH_MAX, "%s/%s", cfdname, token);
+ src/crontab.c: snprintf(cfname, PATH_MAX, "%s/%s", cfdname, entry->d_name);
+ src/crontab.c: char tag[PATH_MAX+80], *oldtab, *mytab, newtab[PATH_MAX];
+ src/crontab.c: snprintf(newtab, PATH_MAX, "%s/%s-crontab.XXXXXX",
+ src/state.c:static char statepath[PATH_MAX];
+ src/state.c: snprintf(statepath, PATH_MAX, "%s/.state/shtate-%lu-%s-%s-%u",
+ src/state.c: snprintf(statepath, PATH_MAX, "%s/shtate-%lu-%s-%s-%u",
+ src/run.c: char fname[PATH_MAX], outlog[PATH_MAX], errlog[PATH_MAX], *outstr, *errstr;
+ src/run.c: snprintf(fname, PATH_MAX, "%s/%s", cfdir, job);
+ src/run.c: snprintf(outlog, PATH_MAX, "%s.stdout", cf_getstr(CF_CONFIG));
+ src/run.c: snprintf(errlog, PATH_MAX, "%s.stderr", cf_getstr(CF_CONFIG));
+ src/run.c: snprintf(fname, PATH_MAX, "%s/.%s-%s", cfdir, jid, get_hostname(0));
+ src/run.c: snprintf(outlog, PATH_MAX, "%s/%s-%s.stdout.XXXXXX",
+ src/run.c: snprintf(errlog, PATH_MAX, "%s/%s-%s.stderr.XXXXXX",
+ src/check.c: char fname[PATH_MAX], outre[PATH_MAX], errre[PATH_MAX], *outstr, *errstr;
+ src/check.c: snprintf(fname, PATH_MAX, "%s/%s", cfdir, job);
+ src/check.c: snprintf(outre, PATH_MAX, "%s.stdout", cf_getstr(CF_CONFIG));
+ src/check.c: snprintf(errre, PATH_MAX, "%s.stderr", cf_getstr(CF_CONFIG));
+
+
+* * *
+
+
+Comments
+--------
+
+Not yet started.
diff --git a/user/tlecarrour/sitecopy.mdwn b/user/tlecarrour/sitecopy.mdwn
new file mode 100644
index 00000000..11f512ae
--- /dev/null
+++ b/user/tlecarrour/sitecopy.mdwn
@@ -0,0 +1,73 @@
+[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+
+[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
+id="license" text="Permission is granted to copy, distribute and/or modify this
+document under the terms of the GNU Free Documentation License, Version 1.2 or
+any later version published by the Free Software Foundation; with no Invariant
+Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
+is included in the section entitled [[GNU Free Documentation
+License|/fdl]]."]]"""]]
+
+[[!tag open_issue_porting]]
+
+
+sitecopy
+========
+
+A program for managing a WWW site via FTP, DAV or HTTP.
+**Home page**: [[http://www.manyfish.co.uk/sitecopy]]
+
+[[!toc startlevel=2]]
+
+
+* * *
+
+
+Log
+---
+
+* **Started**: -
+* **Discussed**: -
+* **Draft Submitted**: -
+* **Submitted**: -
+* **Accepted**: -
+
+
+* * *
+
+
+ToDo
+----
+
+Here is the output of `grep -R PATH_MAX sitecopy-0.16.6/*`:
+
+ intl/dcigettext.c: PATH_MAX but might cause redefinition warnings when sys/param.h is
+ intl/dcigettext.c:#ifndef _POSIX_PATH_MAX
+ intl/dcigettext.c:# define _POSIX_PATH_MAX 255
+ intl/dcigettext.c:#if !defined PATH_MAX && defined _PC_PATH_MAX
+ intl/dcigettext.c:# define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
+ intl/dcigettext.c:#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
+ intl/dcigettext.c:#if !defined PATH_MAX && defined MAXPATHLEN
+ intl/dcigettext.c:# define PATH_MAX MAXPATHLEN
+ intl/dcigettext.c:#ifndef PATH_MAX
+ intl/dcigettext.c:# define PATH_MAX _POSIX_PATH_MAX
+ intl/dcigettext.c: path_max = (unsigned int) PATH_MAX;
+ src/ftp.c:#include <limits.h> /* for PATH_MAX */
+ src/ftp.c:#ifndef PATH_MAX
+ src/ftp.c:#define PATH_MAX 2048
+ src/ftp.c: char cwd[PATH_MAX];
+ src/ftp.c: char dir[PATH_MAX];
+ src/ftp.c: if (!sess->use_cwd || fn[0] != '/' || strlen(fn) > PATH_MAX)
+ debian/patches/10_bts410703_preserve_storage_files_sigint.dpatch:+ char filebuf[PATH_MAX];
+ debian/patches/10_bts410703_preserve_storage_files_sigint.dpatch:+ char filebuf[PATH_MAX];
+
+
+* * *
+
+
+Comments
+--------
+
+Not yet started.
+
+One of the PATH_MAX if used in debian patch.