/[baselayout]/trunk/src/core/misc.c
Gentoo

Log of /trunk/src/core/misc.c

Parent Directory Parent Directory | Revision Log Revision Log



Revision 964 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 23:12:14 2005 UTC (8 years, 3 months ago) by azarah
File length: 14573 byte(s)
Diff to previous 962
misc.c, misc.h: Add gbasename() that is similar to GNU's basename().
parse.c: Use gbasename() instead of POSIX version.


Revision 962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 22:48:55 2005 UTC (8 years, 3 months ago) by azarah
File length: 14138 byte(s)
Diff to previous 961
misc.c, parse.c: Change type of length from int to size_t to avoid warnings
                 when compiled for darwin.


Revision 961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 22:33:17 2005 UTC (8 years, 3 months ago) by azarah
File length: 14135 byte(s)
Diff to previous 957
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.


Revision 957 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 20:38:20 2005 UTC (8 years, 3 months ago) by azarah
File length: 13754 byte(s)
Diff to previous 956
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.


Revision 956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 18:39:29 2005 UTC (8 years, 3 months ago) by azarah
File length: 12238 byte(s)
Diff to previous 955
Add Header tags to all source files and Makefile.


Revision 955 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 16 18:25:42 2005 UTC (8 years, 3 months ago) by azarah
File length: 12226 byte(s)
Diff to previous 952
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.


Revision 952 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Feb 16 15:13:21 2005 UTC (8 years, 3 months ago) by azarah
File length: 12224 byte(s)
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.

  Diffs between and
  Type of Diff should be a

Sticky Revision:
(Current path doesn't exist after revision 1649)

  ViewVC Help
Powered by ViewVC 1.1.13