diff options
author | root <root@rshg054.dnsready.net> | 2013-02-08 00:08:16 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-08 00:08:16 -0800 |
commit | 7c92c5fcfb5653f63243842299e413672653d1ad (patch) | |
tree | 3487915cdf6e673c8a6dccfbd2a526e341550c87 /core/gzip/gzip-1.5-yesno-declaration.patch | |
parent | 8e5a0a990a12a59cadb687cae22a1960fce1660b (diff) |
Fri Feb 8 00:08:16 PST 2013
Diffstat (limited to 'core/gzip/gzip-1.5-yesno-declaration.patch')
-rw-r--r-- | core/gzip/gzip-1.5-yesno-declaration.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/core/gzip/gzip-1.5-yesno-declaration.patch b/core/gzip/gzip-1.5-yesno-declaration.patch new file mode 100644 index 000000000..518ec6a49 --- /dev/null +++ b/core/gzip/gzip-1.5-yesno-declaration.patch @@ -0,0 +1,36 @@ +From e40a9b65ae95ed6face7ce1336905f0ab0a4992b Mon Sep 17 00:00:00 2001 +From: Paul Eggert <eggert@cs.ucla.edu> +Date: Tue, 05 Feb 2013 21:37:40 +0000 +Subject: gzip: fix bug where you say "n" and gzip acts as if you said "y" + +Problem reported for GCC 4.7 x86-64 -O2 by Allan McRae in +<http://lists.gnu.org/archive/html/bug-gzip/2013-02/msg00000.html>. +* NEWS: Document this. Use consistent format in earlier note. +* gzip.c: Include yesno.h. +* gzip.h (yesno): Remove decl; that's yesno.h's job. +--- +diff --git a/gzip.c b/gzip.c +index b9b4d64..66529e0 100644 +--- a/gzip.c ++++ b/gzip.c +@@ -74,6 +74,7 @@ static char const *const license_msg[] = { + #include "ignore-value.h" + #include "stat-time.h" + #include "version.h" ++#include "yesno.h" + + /* configuration */ + +diff --git a/gzip.h b/gzip.h +index bf253d0..648073e 100644 +--- a/gzip.h ++++ b/gzip.h +@@ -321,6 +321,3 @@ extern void fprint_off (FILE *, off_t, int); + + /* in inflate.c */ + extern int inflate (void); +- +- /* in yesno.c */ +-extern int yesno (void); +-- +cgit v0.9.0.2 |