9bf0fc0
From f66d54b934710f54999debb72e8b7c620edece1d Mon Sep 17 00:00:00 2001
9bf0fc0
From: Peter Jones <pjones@redhat.com>
9bf0fc0
Date: Fri, 25 May 2012 15:28:19 -0400
9bf0fc0
Subject: [PATCH] gnulib accused in build breaking shocker.
9bf0fc0
9bf0fc0
---
9bf0fc0
 grub-core/gnulib/stdio.in.h |    2 ++
9bf0fc0
 1 file changed, 2 insertions(+)
9bf0fc0
9bf0fc0
diff --git a/grub-core/gnulib/stdio.in.h b/grub-core/gnulib/stdio.in.h
9bf0fc0
index 80b9dbf..69932d9 100644
9bf0fc0
--- a/grub-core/gnulib/stdio.in.h
9bf0fc0
+++ b/grub-core/gnulib/stdio.in.h
9bf0fc0
@@ -141,7 +141,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - "
9bf0fc0
    so any use of gets warrants an unconditional warning.  Assume it is
9bf0fc0
    always declared, since it is required by C89.  */
9bf0fc0
 #undef gets
9bf0fc0
+#if 0
9bf0fc0
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
9bf0fc0
+#endif
9bf0fc0
 
9bf0fc0
 #if @GNULIB_FOPEN@
9bf0fc0
 # if @REPLACE_FOPEN@
9bf0fc0
-- 
9bf0fc0
1.7.10.1
9bf0fc0