]> git.pld-linux.org Git - packages/m4.git/blob - m4-stdio-gets.patch
- fix missing gets definition
[packages/m4.git] / m4-stdio-gets.patch
1 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@
This page took 0.051459 seconds and 3 git commands to generate.