void-packages/srcpkgs/lftp/patches/glibc-2.16.patch
2012-07-04 16:35:43 +02:00

12 lines
450 B
Diff

--- lib/stdio.in.h.orig 2012-07-04 16:33:38.435152864 +0200
+++ lib/stdio.in.h 2012-07-04 16:33:55.468744741 +0200
@@ -703,9 +703,6 @@ _GL_WARN_ON_USE (getline, "getline is un
so any use of gets warrants an unconditional warning; besides, C11
removed it. */
#undef gets
-#if HAVE_RAW_DECL_GETS
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-#endif
#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@