blob: 27f484dde092327f964ae7be7feea0387ff991f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
From: Daniel Schepler <schepler@debian.org>
Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694952
Description: Fix Gnulib to build with newer versions of glibc/EGLIBC
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -162,7 +162,9 @@
so any use of gets warrants an unconditional warning. Assume it is
always declared, since it is required by C89. */
#undef gets
+#if 0
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
#if @GNULIB_FOPEN@
# if @REPLACE_FOPEN@
|