sharutils-4.11.1-no-gets.patch 318 B

1234567891011
  1. --- lib/stdio.in.h.orig
  2. +++ lib/stdio.in.h
  3. @@ -125,7 +125,6 @@
  4. so any use of gets warrants an unconditional warning. Assume it is
  5. always declared, since it is required by C89. */
  6. #undef gets
  7. -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
  8. #if @GNULIB_FOPEN@
  9. # if @REPLACE_FOPEN@