Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 424978 | Differences between
and this patch

Collapse All | Expand All

(-)a/lib/stdio.in.h (+2 lines)
Lines 162-168 Link Here
162
   so any use of gets warrants an unconditional warning.  Assume it is
162
   so any use of gets warrants an unconditional warning.  Assume it is
163
   always declared, since it is required by C89.  */
163
   always declared, since it is required by C89.  */
164
#undef gets
164
#undef gets
165
#if HAVE_RAW_DECL_GETS
165
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
166
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
167
#endif
166
168
167
#if @GNULIB_FOPEN@
169
#if @GNULIB_FOPEN@
168
# if @REPLACE_FOPEN@
170
# if @REPLACE_FOPEN@

Return to bug 424978