summaryrefslogtreecommitdiff
path: root/package/coreutils/patches/patch-lib_stdio_in_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/coreutils/patches/patch-lib_stdio_in_h')
-rw-r--r--package/coreutils/patches/patch-lib_stdio_in_h10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/coreutils/patches/patch-lib_stdio_in_h b/package/coreutils/patches/patch-lib_stdio_in_h
new file mode 100644
index 000000000..cd40ccb9f
--- /dev/null
+++ b/package/coreutils/patches/patch-lib_stdio_in_h
@@ -0,0 +1,10 @@
+--- coreutils-8.15.orig/lib/stdio.in.h 2012-01-06 08:22:03.000000000 +0100
++++ coreutils-8.15/lib/stdio.in.h 2012-09-29 15:31:11.000000000 +0200
+@@ -715,7 +715,6 @@ _GL_CXXALIASWARN (gets);
+ /* 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. */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+
+