diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-01-11 21:09:56 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-01-11 21:09:56 -0800 |
commit | 7f9243cad6c40038a4c0eb1352a108e362fc50dc (patch) | |
tree | 60b8c51e9156a4ef5ab77c44bbb581d19f182c42 | |
parent | 69549f442b8639c1c30d04fab96fc91d7b668934 (diff) | |
download | wget-7f9243cad6c40038a4c0eb1352a108e362fc50dc.tar.gz wget-7f9243cad6c40038a4c0eb1352a108e362fc50dc.tar.bz2 wget-7f9243cad6c40038a4c0eb1352a108e362fc50dc.zip |
Fix build with missing gets declarationsubmit/trunk/20130112.050958submit/tizen/20130517.024359submit/tizen/20130509.184856submit/tizen/20130503.233608accepted/trunk/20130112.051603accepted/tizen/20130520.094502accepted/tizen/20130503.231716
-rw-r--r-- | lib/stdio.in.h | 2 | ||||
-rw-r--r-- | packaging/wget.changes | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/stdio.in.h b/lib/stdio.in.h index 65d3ea1..e528a21 100644 --- a/lib/stdio.in.h +++ b/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 diff --git a/packaging/wget.changes b/packaging/wget.changes new file mode 100644 index 0000000..135fd4e --- /dev/null +++ b/packaging/wget.changes @@ -0,0 +1,3 @@ +* Fri Jan 11 2013 Anas Nashif <anas.nashif@intel.com> upstream/1.13.4@69549f4 +- Fix build with missing gets declaration + |