summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
diff options
context:
space:
mode:
authorMarko Lindqvist <cazfi74@gmail.com>2013-03-24 07:35:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-29 10:40:55 +0000
commit841ec528ec04e64bd09ff10f8d9ad2d6e3aac05d (patch)
tree7a703492c423daeb46f63f28c49093d30e450f7e /meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
parent741b8d764c69a8a28beea3ba0df26bfad57a45d4 (diff)
downloadpoky-841ec528ec04e64bd09ff10f8d9ad2d6e3aac05d.tar.gz
coreutils: update to upstream version 8.21
remove-gets.patch removed as issue is fixed upstream. (From OE-Core rev: c2fd59028a57356cff8d165edb71c45c3b05cc67) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch')
-rw-r--r--meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch b/meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
deleted file mode 100644
index 4f61c92b15..0000000000
--- a/meta/recipes-core/coreutils/coreutils-8.14/remove-gets.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1use gets iff its defined. eglibc 2.16 removed gets
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5
6Index: coreutils-8.14/lib/stdio.in.h
7===================================================================
8--- coreutils-8.14.orig/lib/stdio.in.h 2011-09-24 04:20:48.000000000 -0700
9+++ coreutils-8.14/lib/stdio.in.h 2012-07-03 10:36:19.886296576 -0700
10@@ -713,11 +713,13 @@
11 _GL_CXXALIAS_SYS (gets, char *, (char *s));
12 # undef gets
13 # endif
14+# if defined gets
15 _GL_CXXALIASWARN (gets);
16 /* It is very rare that the developer ever has full control of stdin,
17 so any use of gets warrants an unconditional warning. Assume it is
18 always declared, since it is required by C89. */
19 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
20+# endif
21 #endif
22
23