bug-gnulib
[Top][All Lists]
Advanced

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

Re: strings.h in argz.c?


From: Simon Josefsson
Subject: Re: strings.h in argz.c?
Date: Mon, 22 Jan 2007 08:53:37 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> We got a bug report about Libtool 1.5.22 and SunOS 4.1.x this year, so
> I'm not doing any C89 cleanup on branch-1-5.

That's not a problem, I only meant it to apply to future version.  (I
assume there will be future versions not based on branch-1-5 ;-)).

> OTOH, the change may eventually cause 2 less header checks in user code;
> that is, once all other checks for string.h and strings.h are eliminated
> from their configury.

Yes, and another problem might be code that checks for strings.h
and/or memory.h, but not string.h.  It seems they might get the wrong
headers..

I don't know about math.h.  Math functions seem generally more
optional than other functions to me, depending on platform.  If your
patch only changed this for the self tests, that is probably OK, but
it seems weird for libtool/ltdl to require math functions.

> WDYT?
...
>       * libltdl/argz.c: Do not include strings.h nor memory.h, include
>       string.h unconditionally.
>       Patch by Simon Josefsson <address@hidden>.

I like this part. :-)

Thanks,
Simon




reply via email to

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