cvs commit: src/include src/lib/libiberty

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Sat Oct 23 05:16:19 PDT 2004


joerg       2004/10/23 05:15:21 PDT

DragonFly src repository

  Modified files:
    include              libiberty.h 
    lib/libiberty        Makefile lbasename.c lrealpath.c 
  Added files:
    lib/libiberty        argv.c concat.c hex.c xatexit.c xcalloc.c 
                         xexit.c xmalloc.c xmemdup.c xrealloc.c 
                         xstrdup.c xstrerror.c 
  Log:
  Add some more functions for -liberty and make the library WARNS=6 clean.
  
  As replacement of the missing documentation:
  - buildargv, freeargv and dupargv help with managing argv lists as NULL
    terminated lists of strings
  - hex_p and hex_value help with the detection and evaluation of hex digests,
    they might be replaced by an inline version later
  - concat and reconcat can be used to concat an arbitrary number of strings
  - xatexit, xexit and xstrerror just call the corresponding normal functions,
    they already provide the GNU functionality
  - xcalloc, xmalloc, xmemdup, xrealloc and xstrdup work as expected but
    terminate the program if the memory allocation can not be fullfilled
  
  Revision  Changes    Path
  1.3       +24 -0     src/include/libiberty.h
  1.3       +5 -1      src/lib/libiberty/Makefile
  1.3       +2 -1      src/lib/libiberty/lbasename.c
  1.2       +1 -0      src/lib/libiberty/lrealpath.c


http://www.dragonflybsd.org/cvsweb/src/include/libiberty.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libiberty/Makefile.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libiberty/lbasename.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libiberty/lrealpath.c.diff?r1=1.1&r2=1.2&f=u





More information about the Commits mailing list