Annotation of /trunk/grub/patches/grub-2.00-gnulib-gets.patch
Parent Directory | Revision Log
Revision 1848 -
(hide annotations)
(download)
Tue Jul 17 13:08:08 2012 UTC (11 years, 11 months ago) by niro
File size: 568 byte(s)
Tue Jul 17 13:08:08 2012 UTC (11 years, 11 months ago) by niro
File size: 568 byte(s)
-added patch to fix a ftbfs with newer glibc
1 | niro | 1848 | diff -Naur grub-2.00/grub-core/gnulib/stdio.in.h grub-2.00-magellan/grub-core/gnulib/stdio.in.h |
2 | --- grub-2.00/grub-core/gnulib/stdio.in.h 2010-12-01 15:45:43.000000000 +0100 | ||
3 | +++ grub-2.00-magellan/grub-core/gnulib/stdio.in.h 2012-07-17 17:03:07.392976269 +0200 | ||
4 | @@ -141,7 +141,9 @@ | ||
5 | so any use of gets warrants an unconditional warning. Assume it is | ||
6 | always declared, since it is required by C89. */ | ||
7 | #undef gets | ||
8 | +#if HAVE_RAW_DECL_GETS | ||
9 | _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); | ||
10 | +#endif | ||
11 | |||
12 | #if @GNULIB_FOPEN@ | ||
13 | # if @REPLACE_FOPEN@ |