bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] unused variables and other nits in gnulib/m4


From: Ralf Wildenhues
Subject: Re: [bug-gnulib] unused variables and other nits in gnulib/m4
Date: Mon, 25 Sep 2006 13:38:56 +0200
User-agent: Mutt/1.5.13 (2006-09-01)

Hello Bruno,

Thanks for the changes you applied.  As usual, you show much more
diligence in fixing things.  :-)

* Bruno Haible wrote on Fri, Sep 22, 2006 at 10:12:21PM CEST:
> Ralf Wildenhues wrote:
> 
> >     * stpncpy.m4 (gl_FUNC_STPNCPY): Likewise.
> 
> Not applied. The patch does something different: It adds an include of
> <string.h>.

Ouch, sorry for the bad ChangeLog entry.

> What's the point of that?

To supply a prototype for strcpy which is used in the test.
Is it safe for the test to not include string.h (only stdlib.h is
currently included) and declare strcpy manually, or could that
conflict with a builtin?  Since gnulib assumes C89 there should be
no problem with stdlib.h providing a strcpy prototype, right?

Cheers,
Ralf




reply via email to

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