2012-07-08 15:50:36 +00:00
|
|
|
--- a/lib/stdio.in.h
|
|
|
|
+++ b/lib/stdio.in.h
|
2018-10-06 10:41:52 +00:00
|
|
|
@@ -739,14 +739,6 @@ _GL_WARN_ON_USE (getline, "getline is un
|
2013-02-28 00:52:34 +00:00
|
|
|
# endif
|
2012-07-08 15:50:36 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
-/* It is very rare that the developer ever has full control of stdin,
|
2013-02-28 00:52:34 +00:00
|
|
|
- so any use of gets warrants an unconditional warning; besides, C11
|
|
|
|
- removed it. */
|
2012-07-08 15:50:36 +00:00
|
|
|
-#undef gets
|
2018-06-07 17:21:12 +00:00
|
|
|
-#if HAVE_RAW_DECL_GETS && !defined __cplusplus
|
2012-07-08 15:50:36 +00:00
|
|
|
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
2013-02-28 00:52:34 +00:00
|
|
|
-#endif
|
2018-06-07 17:21:12 +00:00
|
|
|
-
|
2013-02-28 00:52:34 +00:00
|
|
|
#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
|
2018-06-07 17:21:12 +00:00
|
|
|
struct obstack;
|
|
|
|
/* Grow an obstack with formatted output. Return the number of
|