DragonFly BSD
DragonFly commits List (threaded) for 2004-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/include src/lib/libiberty


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Oct 2004 05:15:21 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]