annotate src/build-m4-1-fixes.patch @ 3202:18158a101dc5

gnulib gets fix for build-m4 package
author John W. Eaton <jwe@octave.org>
date Mon, 05 Aug 2013 22:33:45 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3202
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 diff -uNr a/lib/stdio.in.h b/lib/stdio.in.h
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 --- a/lib/stdio.in.h 2011-03-01 11:39:29.000000000 -0500
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 +++ b/lib/stdio.in.h 2013-08-05 22:30:54.870325354 -0400
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 @@ -158,12 +158,6 @@
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 "use gnulib module fflush for portable POSIX compliance");
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 #endif
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 -/* It is very rare that the developer ever has full control of stdin,
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 - so any use of gets warrants an unconditional warning. Assume it is
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 - always declared, since it is required by C89. */
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 -#undef gets
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 -
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 #if @GNULIB_FOPEN@
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 # if @REPLACE_FOPEN@
18158a101dc5 gnulib gets fix for build-m4 package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)