mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
9d5eceae91
Update bison to 3.7.4 Release notes: http://git.savannah.gnu.org/cgit/bison.git/tree/NEWS?id=7a11a9308cb Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
18 lines
506 B
Diff
18 lines
506 B
Diff
--- a/lib/stdio.in.h
|
|
+++ b/lib/stdio.in.h
|
|
@@ -835,14 +835,6 @@ _GL_WARN_ON_USE (getline, "getline is un
|
|
# endif
|
|
#endif
|
|
|
|
-/* It is very rare that the developer ever has full control of stdin,
|
|
- so any use of gets warrants an unconditional warning; besides, C11
|
|
- removed it. */
|
|
-#undef gets
|
|
-#if HAVE_RAW_DECL_GETS && !defined __cplusplus
|
|
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
|
-#endif
|
|
-
|
|
#if defined _WIN32 && !defined __CYGWIN__
|
|
# undef getw
|
|
# define getw _getw
|