Lines 138-145
_GL_WARN_ON_USE (fflush, "fflush is not
Link Here
|
138 |
/* It is very rare that the developer ever has full control of stdin, |
138 |
/* It is very rare that the developer ever has full control of stdin, |
139 |
so any use of gets warrants an unconditional warning. Assume it is |
139 |
so any use of gets warrants an unconditional warning. Assume it is |
140 |
always declared, since it is required by C89. */ |
140 |
always declared, since it is required by C89. */ |
|
|
141 |
#if defined gets |
141 |
#undef gets |
142 |
#undef gets |
142 |
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); |
143 |
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); |
|
|
144 |
#endif |
143 |
|
145 |
|
144 |
#if @GNULIB_FOPEN@ |
146 |
#if @GNULIB_FOPEN@ |
145 |
# if @REPLACE_FOPEN@ |
147 |
# if @REPLACE_FOPEN@ |