gnats-commit
[Top][All Lists]
Advanced

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

gnats/gnats ansidecl.h gnugetopt.c gnugetopt.h ...


From: Chad C . Walstrom
Subject: gnats/gnats ansidecl.h gnugetopt.c gnugetopt.h ...
Date: Thu, 24 Feb 2005 16:28:43 -0500

CVSROOT:        /cvsroot/gnats
Module name:    gnats
Branch:         
Changes by:     Chad C. Walstrom <address@hidden>       05/02/24 21:28:43

Added files:
        gnats          : ansidecl.h gnugetopt.c gnugetopt.h gnugetopt1.c 

Log message:
        (ChangeLog)
        2005-02-22  Mike M. Volokhov  <address@hidden>
        
        * libiberty/*, include/*: Removed.
        
        * Makefile.in, configure, configure.in: Remove libiberty stuff.
        
        (gnats/ChangeLog)
        2005-02-22  Mike M. Volokhov  <address@hidden>
        
        * 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.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnats/gnats/gnats/ansidecl.h?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnats/gnats/gnats/gnugetopt.c?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnats/gnats/gnats/gnugetopt.h?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnats/gnats/gnats/gnugetopt1.c?rev=1.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]