summarylogtreecommitdiffstats
path: root/stdio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'stdio.patch')
-rw-r--r--stdio.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/stdio.patch b/stdio.patch
new file mode 100644
index 000000000000..a35a4f72dcc3
--- /dev/null
+++ b/stdio.patch
@@ -0,0 +1,12 @@
+diff -Naur dico-2.2/gnu/stdio.in.h dico-2.2.1/gnu/stdio.in.h
+--- dico-2.2/gnu/stdio.in.h 2012-01-09 12:39:33.000000000 +0100
++++ dico-2.2.1/gnu/stdio.in.h 2016-06-22 05:02:58.420791647 +0200
+@@ -163,8 +163,6 @@
+ /* 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@