diff options
| -rw-r--r-- | meta/recipes-devtools/bison/bison/remove-gets.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/recipes-devtools/bison/bison/remove-gets.patch b/meta/recipes-devtools/bison/bison/remove-gets.patch deleted file mode 100644 index 2dfa00fcfa..0000000000 --- a/meta/recipes-devtools/bison/bison/remove-gets.patch +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | gets has been removed from eglibc 2.16 | ||
| 2 | |||
| 3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 4 | |||
| 5 | Upstream-Status: Pending | ||
| 6 | Index: bison-2.5/lib/stdio.in.h | ||
| 7 | =================================================================== | ||
| 8 | --- bison-2.5.orig/lib/stdio.in.h 2012-07-04 09:09:48.336532195 -0700 | ||
| 9 | +++ bison-2.5/lib/stdio.in.h 2012-07-04 09:10:22.868533884 -0700 | ||
| 10 | @@ -180,8 +180,10 @@ | ||
| 11 | /* It is very rare that the developer ever has full control of stdin, | ||
| 12 | so any use of gets warrants an unconditional warning. Assume it is | ||
| 13 | always declared, since it is required by C89. */ | ||
| 14 | +#if defined gets | ||
| 15 | #undef gets | ||
| 16 | _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); | ||
| 17 | +#endif | ||
| 18 | |||
| 19 | #if @GNULIB_FOPEN@ | ||
| 20 | # if @REPLACE_FOPEN@ | ||
