]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - findutils/patches/findutils-4.5.10-gets.patch
gobject-introspection: Update to 1.39.3.
[people/ms/ipfire-3.x.git] / findutils / patches / findutils-4.5.10-gets.patch
1 From fe7079ab7e5794b9222af5e56c6f25b424ca72f3 Mon Sep 17 00:00:00 2001
2 From: Kamil Dudka <kdudka@redhat.com>
3 Date: Tue, 28 Aug 2012 17:24:21 +0200
4 Subject: [PATCH] gnulib: do not require gets() to be declared
5
6 ---
7 gnulib/lib/stdio.in.h | 6 ------
8 1 files changed, 0 insertions(+), 6 deletions(-)
9
10 diff --git a/gnulib/lib/stdio.in.h b/gnulib/lib/stdio.in.h
11 index 57e93ba..b1e5bb6 100644
12 --- a/gnulib/lib/stdio.in.h
13 +++ b/gnulib/lib/stdio.in.h
14 @@ -175,12 +175,6 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - "
15 "use gnulib module fflush for portable POSIX compliance");
16 #endif
17
18 -/* It is very rare that the developer ever has full control of stdin,
19 - so any use of gets warrants an unconditional warning. Assume it is
20 - always declared, since it is required by C89. */
21 -#undef gets
22 -_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
23 -
24 #if @GNULIB_FOPEN@
25 # if @REPLACE_FOPEN@
26 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
27 --
28 1.7.1
29