summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/parted/files/parted-2.4-no-gets.patch')
-rw-r--r--sys-block/parted/files/parted-2.4-no-gets.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-block/parted/files/parted-2.4-no-gets.patch b/sys-block/parted/files/parted-2.4-no-gets.patch
new file mode 100644
index 000000000000..efa6e00b8d45
--- /dev/null
+++ b/sys-block/parted/files/parted-2.4-no-gets.patch
@@ -0,0 +1,10 @@
+--- a/lib/stdio.in.h
++++ b/lib/stdio.in.h
+@@ -735,7 +735,6 @@
+ /* 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
+
+