| /[baselayout]/trunk/src/core/misc.c |
Parent Directory
|
Revision Log
misc.c, misc.h: Add gbasename() that is similar to GNU's basename(). parse.c: Use gbasename() instead of POSIX version.
misc.c, parse.c: Change type of length from int to size_t to avoid warnings
when compiled for darwin.
misc.c, misc.h: Add strndup() instead of relying on glibc's implementation
(should fix some issues on bsd and darwin).
depend.c, simple-regex.c: Do not define _GNU_SOURCE, but rather use our
strndup() from misc.h.
parse.c: Do not define _GNU_SOURCE, but rather use our strndup() from
misc.h. Also change all usage of basename() to conform to POSIX,
and not use the GNU variants.
depscan.c: Add delete_var_dirs() to delete volatile directories in svcdir.
Change 'char *' declarations for create_directory() and
create_var_dirs() to 'const char*'.
misc.h, misc.c: Add rmtree() function. Fix ls_dir() not to include '.'
and '..' in its listing. Fix segfault in ls_dir() if the
file list is empty.
Add Header tags to all source files and Makefile.
debug.h: perror() set errno to ESPIPE for some reason - restore errno after
calling perror().
depscan.c: Add code to create svcdir and co if missing.
misc.c: Add missing '\n' to DBG_MSG in mktree().
misc.h: Add a comment about strcatpaths() allocating the memory needed.
Initial checkin.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |