File lftp-stdio.h.patch of Package lftp

Index: lftp-4.3.7/lib/stdio.in.h
===================================================================
--- lftp-4.3.7.orig/lib/stdio.in.h
+++ lftp-4.3.7/lib/stdio.in.h
@@ -703,7 +703,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
+#if 0
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
 #endif
 
openSUSE Build Service is sponsored by