summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libiconv/gets.patch
blob: 7c4b5562ec7245454b433faebcb6b47847b51aa6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/srclib/stdio.in.h
+++ b/srclib/stdio.in.h
@@ -692,10 +692,6 @@
 #  undef gets
 # endif
 _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