diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-01-03 14:30:23 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-01-03 15:31:47 +0100 |
commit | 3c5382964cfc34fcdad70849ea01f59c0173dec1 (patch) | |
tree | 2b6d74ae4b2dd34c36061e707c66cd4c955ee05c /patches/tar-1.26 | |
parent | 7eaa7ed06b13ac1a092ba53073d06b417b4b17d0 (diff) | |
download | ptxdist-3c5382964cfc34fcdad70849ea01f59c0173dec1.tar.gz ptxdist-3c5382964cfc34fcdad70849ea01f59c0173dec1.tar.xz |
tar: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/tar-1.26')
-rw-r--r-- | patches/tar-1.26/0001-only-undefine-gets-if-it-s-defined.patch | 24 | ||||
-rw-r--r-- | patches/tar-1.26/series | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/patches/tar-1.26/0001-only-undefine-gets-if-it-s-defined.patch b/patches/tar-1.26/0001-only-undefine-gets-if-it-s-defined.patch new file mode 100644 index 000000000..bad96c55c --- /dev/null +++ b/patches/tar-1.26/0001-only-undefine-gets-if-it-s-defined.patch @@ -0,0 +1,24 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Wed, 12 Dec 2012 17:26:16 +0100 +Subject: [PATCH] only undefine 'gets' if it's defined + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + gnu/stdio.in.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gnu/stdio.in.h b/gnu/stdio.in.h +index 465a9c9..8968c84 100644 +--- a/gnu/stdio.in.h ++++ b/gnu/stdio.in.h +@@ -163,8 +163,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " + /* 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. */ ++#ifdef gets + #undef gets + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++#endif + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ diff --git a/patches/tar-1.26/series b/patches/tar-1.26/series new file mode 100644 index 000000000..6ad66d469 --- /dev/null +++ b/patches/tar-1.26/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-only-undefine-gets-if-it-s-defined.patch +# b7bedf2d8431b9a5500513f901452c19 - git-ptx-patches magic |