source: patches/m4-1.4.16-no-gets-1.patch@ 53142ba

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 53142ba was a595f9f, checked in by William Harrington <kb0iic@…>, 12 years ago

Add m4 no gets patch.

  • Property mode set to 100644
File size: 570 bytes
RevLine 
[a595f9f]1Submitted By: Anthony Creech (lunatic at qx dot net)
2Date: 10/23/12
3Initial Package Version: 1.4.16
4Origin: Gentoo
5Upstream Status: Accepted
6Description: stdio: don't assume gets any more
7 hack until m4 pulls a newer gnulib version
8
9--- a/lib/stdio.in.h
10+++ b/lib/stdio.in.h
11@@ -125,7 +125,6 @@
12 so any use of gets warrants an unconditional warning. Assume it is
13 always declared, since it is required by C89. */
14 #undef gets
15-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
16
17 #if @GNULIB_FOPEN@
18 # if @REPLACE_FOPEN@
Note: See TracBrowser for help on using the repository browser.