File lftp-stdio.h.patch of Package lftp

---
 lib/stdio.in.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: lftp-4.4.9/lib/stdio.in.h
===================================================================
--- lftp-4.4.9.orig/lib/stdio.in.h	2013-05-17 11:39:30.000000000 +0200
+++ lftp-4.4.9/lib/stdio.in.h	2013-10-07 16:23:02.265573679 +0200
@@ -709,7 +709,7 @@ _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 && !defined __cplusplus
+#if 0
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 #endif
 
openSUSE Build Service is sponsored by