summaryrefslogtreecommitdiff
path: root/package/parted/patches/patch-lib_stdio_in_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/parted/patches/patch-lib_stdio_in_h')
-rw-r--r--package/parted/patches/patch-lib_stdio_in_h10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/parted/patches/patch-lib_stdio_in_h b/package/parted/patches/patch-lib_stdio_in_h
new file mode 100644
index 000000000..1fe225d7b
--- /dev/null
+++ b/package/parted/patches/patch-lib_stdio_in_h
@@ -0,0 +1,10 @@
+--- parted-3.0.orig/lib/stdio.in.h 2011-05-30 09:07:16.000000000 +0200
++++ parted-3.0/lib/stdio.in.h 2013-02-11 15:51:17.000000000 +0100
+@@ -735,7 +735,6 @@ _GL_CXXALIASWARN (gets);
+ /* It is very rare that the developer ever has full control of stdin,
+ so any use of gets warrants an unconditional warning. Assume it is
+ always declared, since it is required by C89. */
+-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
+
+