Magellan Linux

Contents of /trunk/inetutils/patches/inetutils-1.9.1-gnulib-gets.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1891 - (show annotations) (download)
Wed Sep 5 12:04:31 2012 UTC (11 years, 7 months ago) by niro
File size: 629 byte(s)
-added patch to fix ftbfs with glibc-2.16
1 diff -Naur inetutils-1.9.1/lib/stdio.in.h inetutils-1.9.1-magellan/lib/stdio.in.h
2 --- inetutils-1.9.1/lib/stdio.in.h 2012-01-06 15:11:13.000000000 +0100
3 +++ inetutils-1.9.1-magellan/lib/stdio.in.h 2012-09-05 16:03:57.450983388 +0200
4 @@ -715,8 +715,10 @@
5 /* It is very rare that the developer ever has full control of stdin,
6 so any use of gets warrants an unconditional warning. Assume it is
7 always declared, since it is required by C89. */
8 +#if HAVE_RAW_DECL_GETS
9 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
10 #endif
11 +#endif
12
13
14 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@