bug-gnulib
[Top][All Lists]
Advanced

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

Re: build failure on cross build


From: Simon Josefsson
Subject: Re: build failure on cross build
Date: Sat, 31 Mar 2012 00:01:53 +0200
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux)

Paul Eggert <address@hidden> writes:

> On 03/29/2012 02:44 AM, Bruno Haible wrote:
>> I think gnulib should
>>   1) not assume that the function is declared,
>>   2) have a deprecated module 'gets' that declares this function only if
>>      the declaration is missing.
>
> How about if gnulib drops support for gets instead?

+1

> That would be simpler.  Gnulib shouldn't be catering
> to apps that use gets, since gets should never
> be used by anybody.

It would be nice if gnulib warned about using gets, though, but maybe
that leads to the kind of problem indicated by this thread.  '#define
gets DO_NOT_USE_GETS_BECAUSE_IT_IS_INSECURE'?

/Simon



reply via email to

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