Annotation of /trunk/m4/patches/m4-1.4.16-gnulib-gets.patch
Parent Directory | Revision Log
Revision 1841 -
(hide annotations)
(download)
Fri Jul 13 13:05:52 2012 UTC (12 years, 2 months ago) by niro
File size: 546 byte(s)
Fri Jul 13 13:05:52 2012 UTC (12 years, 2 months ago) by niro
File size: 546 byte(s)
-added patches
1 | niro | 1841 | diff -up m4-1.4.16/lib/stdio.in.h.orig m4-1.4.16/lib/stdio.in.h |
2 | --- m4-1.4.16/lib/stdio.in.h.orig 2012-05-30 13:55:51.092600199 +0200 | ||
3 | +++ m4-1.4.16/lib/stdio.in.h 2012-05-30 13:56:25.763794100 +0200 | ||
4 | @@ -162,7 +162,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not | ||
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@ |