Magellan Linux

Contents of /trunk/grub/patches/grub-2.00-gnulib-gets.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1848 - (show annotations) (download)
Tue Jul 17 13:08:08 2012 UTC (11 years, 9 months ago) by niro
File size: 568 byte(s)
-added patch to fix a ftbfs with newer glibc
1 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@