Line
Link Here
|
0 |
-- a/gnulib/stdio.in.h |
0 |
++ b/gnulib/stdio.in.h |
Lines 140-147
Link Here
|
140 |
/* It is very rare that the developer ever has full control of stdin, |
140 |
/* It is very rare that the developer ever has full control of stdin, |
141 |
so any use of gets warrants an unconditional warning. Assume it is |
141 |
so any use of gets warrants an unconditional warning. Assume it is |
142 |
always declared, since it is required by C89. */ |
142 |
always declared, since it is required by C89. */ |
143 |
#undef gets |
143 |
#ifdef gets |
|
|
144 |
# undef gets |
144 |
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); |
145 |
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); |
|
|
146 |
#endif |
145 |
|
147 |
|
146 |
#if @GNULIB_FOPEN@ |
148 |
#if @GNULIB_FOPEN@ |
147 |
# if @REPLACE_FOPEN@ |
149 |
# if @REPLACE_FOPEN@ |