gnats/libiberty .cvsignore testsuite/.cvsignore
Chad C. Walstrom <[email protected]> Thu, 24 Feb 2005 16:30:05 -0500
| Newsgroups | gmane.comp.bug-tracking.gnats.cvs |
|---|---|
| Message-ID | <E1D4QYf-0007vX-00@savannah> |
CVSROOT: /cvsroot/gnats Module name: gnats Branch: Changes by: Chad C. Walstrom <[email protected]> 05/02/24 21:30:05 Removed files: libiberty : .cvsignore libiberty/testsuite: .cvsignore Log message: (ChangeLog) 2005-02-22 Mike M. Volokhov <[email protected]> * libiberty/*, include/*: Removed. * Makefile.in, configure, configure.in: Remove libiberty stuff. (gnats/ChangeLog) 2005-02-22 Mike M. Volokhov <[email protected]> * misc.c (xmalloc, xrealloc, xstrdup, basename, asprintf, vasprintf): New fault-tolerant functions (x*), rewritten from scratch as replacements for libiberty stuff. A basename() and [v]asprintf() functions was stolen from libiberty tree to be more consistent on various platforms. The xstrndup() function was strengthen when passed length is less than 1; this fixes potential problems with other functions which relies on xstrndup(), i.e.: strlen(xstrndup(string, 0)). * gnugetopt.c, gnugetopt1.c, gnugetopt.h: Stolen from libiberty sources to avoid possible portability problems and was bit enreached with GNATS build directives. Contains GNU getopt(), getopt_long(), and getopt_long_only() functions (however GNATS use getopt_long only, which is now enforced in configure.in). Files was renamed to gnu* for more clean selection of getopt sources. * configure, configure.in: The following functions now handled by AC_CHECK_FUNC macro - basename, asprintf, vasprintf, getopt, getopt_long. See also autoconf.h.in file. * autoconf.h.in: The libiberty stuff was replaced with GNATS own HAVE_GETOPT* and HAVE_BASENAME triggers. * ansidecl.h: Stolen from libiberty sources. This generic definitions used accross GNATS sources. * gnats.h: Add prototypes for new functions from misc.c. Include "ansidecl.h", stored locally. Include getopt_long select logic. * Makefile.in: Remove libiberty stuff, include gnugetopt* sources.