bug-gsrc
[Top][All Lists]
Advanced

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

Re: [bug-gsrc] Bug in compiling dico


From: carl hansen
Subject: Re: [bug-gsrc] Bug in compiling dico
Date: Tue, 26 Apr 2016 21:31:38 -0700



On Tue, Apr 26, 2016 at 1:07 AM, Jean Louis <address@hidden> wrote:
Hello Carl,

Here is my stdio.h from dico: https://clbin.com/7Ozb0

I could compile dico by removing the full if/undef sections in
Makefile. That is wrong approach, but dico works on my side as of now, I
did not test all functions yet.

Jean Louis

OK I remembered I compiled with gcc 6 (to be officially released this week, Allah willing)
So I went back to make clean and did it again with gcc 5.3, and got same postive results.
I diffed your stdio.h with mine and this is the only difference:

diff YOURS MINE
478,479c478
< /* #undef gets */
< /* _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); */
---
> #undef gets

It is still mysterious, but that's a data point.

So I looked for uses of gets() in the code and can't find any. Am I mistaken?

If there is no gets() then that "undef gets" is consistent
So the problem seems to be false alarm. or something.

try
#undef gets
and see if it solves your porblem

reply via email to

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