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 
  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


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