From c1a140cb2950473a8991f0a736596e9c98560d65 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 1 Oct 2012 11:29:38 +0200 Subject: glibc 2.16 gets() updates --- package/bison/patches/patch-lib_stdio_in_h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/bison/patches/patch-lib_stdio_in_h (limited to 'package/bison/patches/patch-lib_stdio_in_h') diff --git a/package/bison/patches/patch-lib_stdio_in_h b/package/bison/patches/patch-lib_stdio_in_h new file mode 100644 index 000000000..6990dc0fe --- /dev/null +++ b/package/bison/patches/patch-lib_stdio_in_h @@ -0,0 +1,10 @@ +--- bison-2.4.3.orig/lib/stdio.in.h 2010-08-06 03:00:04.000000000 +0200 ++++ bison-2.4.3/lib/stdio.in.h 2012-09-29 09:34:19.000000000 +0200 +@@ -143,7 +143,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + #undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ -- cgit v1.2.3