Andreas Stieger
94e87e40ce
Add missing sys/resource.h include (glibc 2.16) OBS-URL: https://build.opensuse.org/request/show/129130 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=26
18 lines
597 B
Diff
18 lines
597 B
Diff
Index: wget-1.13.4/lib/stdio.in.h
|
|
===================================================================
|
|
--- wget-1.13.4.orig/lib/stdio.in.h
|
|
+++ wget-1.13.4/lib/stdio.in.h
|
|
@@ -694,10 +694,12 @@ _GL_CXXALIAS_SYS (gets, char *, (char *s
|
|
# undef gets
|
|
# endif
|
|
_GL_CXXALIASWARN (gets);
|
|
+# if HAVE_RAW_DECL_GETS
|
|
/* It is very rare that the developer ever has full control of stdin,
|
|
so any use of gets warrants an unconditional warning. Assume it is
|
|
always declared, since it is required by C89. */
|
|
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
|
|
+# endif
|
|
#endif
|
|
|
|
|