]> git.pld-linux.org Git - packages/lftp.git/blame - lftp-4.3.8-gets.patch
- updated pl.po-update patch
[packages/lftp.git] / lftp-4.3.8-gets.patch
CommitLineData
02b75dca
AM
1diff -up lftp-4.3.8/lib/stdio.in.h.gets lftp-4.3.8/lib/stdio.in.h
2--- lftp-4.3.8/lib/stdio.in.h.gets 2012-07-22 15:07:15.101115146 -0400
3+++ lftp-4.3.8/lib/stdio.in.h 2012-07-22 15:08:09.777098512 -0400
4@@ -702,10 +702,12 @@ _GL_WARN_ON_USE (getline, "getline is un
5 /* It is very rare that the developer ever has full control of stdin,
6 so any use of gets warrants an unconditional warning; besides, C11
7 removed it. */
8+#if defined gets
9 #undef gets
10 #if HAVE_RAW_DECL_GETS
11 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
12 #endif
13+#endif // if defined gets
14
15
16 #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
This page took 0.050128 seconds and 4 git commands to generate.