diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-06 20:52:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-06 20:52:19 +0200 |
commit | fcb8e56cdc4864aa55ae3f377f94f9be3a9fe7c9 (patch) | |
tree | a897975298585f7c813e957ddb8ab9f0590260f2 /package/grub/patches/patch-grub-core_gnulib_stdio_in_h | |
parent | 3491bf306b439d2acc9dcde8eb23e82482c59c4d (diff) |
update to 2.00
Diffstat (limited to 'package/grub/patches/patch-grub-core_gnulib_stdio_in_h')
-rw-r--r-- | package/grub/patches/patch-grub-core_gnulib_stdio_in_h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/grub/patches/patch-grub-core_gnulib_stdio_in_h b/package/grub/patches/patch-grub-core_gnulib_stdio_in_h new file mode 100644 index 000000000..79ab772ad --- /dev/null +++ b/package/grub/patches/patch-grub-core_gnulib_stdio_in_h @@ -0,0 +1,14 @@ +--- grub-2.00.orig/grub-core/gnulib/stdio.in.h 2010-12-01 15:45:43.000000000 +0100 ++++ grub-2.00/grub-core/gnulib/stdio.in.h 2014-04-05 10:02:52.000000000 +0200 +@@ -137,11 +137,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not + "use gnulib module fflush for portable POSIX compliance"); + #endif + +-/* It is very rare that the developer ever has full control of stdin, +- so any use of gets warrants an unconditional warning. Assume it is +- always declared, since it is required by C89. */ +-#undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ |