lftp: make this build with glibc-2.16.
This commit is contained in:
parent
25382b7b33
commit
8ea393efa6
|
@ -0,0 +1,12 @@
|
|||
--- 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@
|
Loading…
Reference in New Issue