bug-gnulib
[Top][All Lists]
Advanced

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

Re: gets() issue


From: Eric Blake
Subject: Re: gets() issue
Date: Mon, 19 Nov 2012 15:55:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2

On 11/19/2012 03:29 PM, Paul Eggert wrote:
> On 11/19/12 14:02, matimatik wrote:
>> I can grep this line in it:
>>
>>  extern __typeof__ (gets) gets __attribute__ ((__warning__ ("gets is a
>>  security hole - use fgets instead")));
> 
> Thanks.  It appears that the problem is that
> HAVE_RAW_DECL_GETS is defined, but 'gets' is
> not actually being declared.  Can you find out
> why HAVE_RAW_DECL_GETS is defined on your platform?
> The log in 
> <http://lists.gnu.org/archive/html/bug-gnulib/2012-11/msg00072.html>
> doesn't seem to have any tests for whether 'gets'
> is declared, so I'm puzzled why HAVE_RAW_DECL_GETS
> would be defined on your platform.

I would have to suspect something like a stale config.cache from an
earlier run prior to upgrading your glibc.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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