patch-grub-core_gnulib_stdio_in_h 635 B

1234567891011121314
  1. --- grub-2.00.orig/grub-core/gnulib/stdio.in.h 2010-12-01 15:45:43.000000000 +0100
  2. +++ grub-2.00/grub-core/gnulib/stdio.in.h 2014-04-05 10:02:52.000000000 +0200
  3. @@ -137,11 +137,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not
  4. "use gnulib module fflush for portable POSIX compliance");
  5. #endif
  6. -/* It is very rare that the developer ever has full control of stdin,
  7. - so any use of gets warrants an unconditional warning. Assume it is
  8. - always declared, since it is required by C89. */
  9. -#undef gets
  10. -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
  11. #if @GNULIB_FOPEN@
  12. # if @REPLACE_FOPEN@