Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 426792
Collapse All | Expand All

(-)idutils-4.6_O/lib/stdio.in.h (+2 lines)
Lines 712-721 Link Here
712
#  undef gets
712
#  undef gets
713
# endif
713
# endif
714
_GL_CXXALIASWARN (gets);
714
_GL_CXXALIASWARN (gets);
715
# if HAVE_RAW_DECL_GETS
715
/* It is very rare that the developer ever has full control of stdin,
716
/* It is very rare that the developer ever has full control of stdin,
716
   so any use of gets warrants an unconditional warning.  Assume it is
717
   so any use of gets warrants an unconditional warning.  Assume it is
717
   always declared, since it is required by C89.  */
718
   always declared, since it is required by C89.  */
718
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
719
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
720
# endif
719
#endif
721
#endif
720
722
721
723

Return to bug 426792