bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] xalloc: add xstrndup


From: Derek Robert Price
Subject: Re: [Bug-gnulib] xalloc: add xstrndup
Date: Tue, 19 Aug 2003 08:42:52 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Eggert wrote:

| <string.h> is newer, but several gnulib modules already assume it, so
|
|it should be OK too.  I think GCC supplied its own <string.h> if the
|system lacked one, so our "use GCC" solution should work even if use
|<string.h>.


What is this recommended mess from the Autoconf manual for, then?
Systems where GCC is not assumed?  I thought the decision had been to
assume a freestanding C89 compiler (as opposed to GCC) and recommend
compiling GCC when one is not available?  Am I missing something?

~From the "Default Includes" node of the 2.57 Autoconf manual:

~     #if HAVE_STRING_H
~     # if !STDC_HEADERS && HAVE_MEMORY_H
~     #  include <memory.h>
~     # endif
~     # include <string.h>
~     #endif
~     #if HAVE_STRINGS_H
~     # include <strings.h>
~     #endif

Derek

- --
~                *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
- --
I don't know what's right any longer!  You have to think for both of us
- - for all of us!

       - Ingrid Bergman as Elsa, _Casablanca_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/QhtLLD1OTBfyMaQRAigOAKDv4yrpGXcjfuPoLT9wtdKvq9cragCg/gMA
5kksZHkrguvSsLsdzYUfiW4=
=X5Pm
-----END PGP SIGNATURE-----






reply via email to

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