blob: c8659f071e264ff471164124d1a8d4d30c28fcdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- idutils-4.6_O/lib/stdio.in.h 2012-01-28 17:26:05.000000000 +0100
+++ idutils-4.6/lib/stdio.in.h 2013-06-13 18:38:29.787232848 +0200
@@ -712,10 +712,12 @@
# undef gets
# endif
_GL_CXXALIASWARN (gets);
+# if HAVE_RAW_DECL_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
#endif
|