2012-07-08 23:28:44 +08:00
|
|
|
--- a/lib/stdio.in.h
|
|
|
|
+++ b/lib/stdio.in.h
|
2013-09-25 04:01:00 +08:00
|
|
|
@@ -714,14 +714,6 @@ _GL_WARN_ON_USE (getline, "getline is un
|
|
|
|
# endif
|
2012-07-08 23:28:44 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
-/* It is very rare that the developer ever has full control of stdin,
|
2013-09-25 04:01:00 +08:00
|
|
|
- so any use of gets warrants an unconditional warning; besides, C11
|
|
|
|
- removed it. */
|
2012-07-08 23:28:44 +08:00
|
|
|
-#undef gets
|
2013-09-25 04:01:00 +08:00
|
|
|
-#if HAVE_RAW_DECL_GETS
|
2012-07-08 23:28:44 +08:00
|
|
|
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
2013-09-25 04:01:00 +08:00
|
|
|
-#endif
|
2012-07-08 23:28:44 +08:00
|
|
|
-
|
2013-09-25 04:01:00 +08:00
|
|
|
|
|
|
|
#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
|
|
|
|
struct obstack;
|