From 3bba545a54addf59b63a003e7ada03fd8b29b5ba Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 30 Dec 2006 17:57:03 +0000 Subject: done a dozen of randconfig test. guess what? ALL failed... these are resulting fixes --- archival/gzip.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'archival') diff --git a/archival/gzip.c b/archival/gzip.c index f4aea3f59..c0671c187 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1122,7 +1122,7 @@ static ulg deflate(void) * in the compressed file. */ - /* configuration */ +/* configuration */ typedef struct dirent dir_type; @@ -1156,11 +1156,13 @@ int gzip_main(int argc, char **argv) //if (opt & 0x400) // -9 //if (opt & 0x800) // -q //if (opt & 0x1000) // -v - if (ENABLE_GUNZIP && (opt & 0x2000)) { // -d +#if ENABLE_GUNZIP /* gunzip_main may not be visible... */ + if (opt & 0x2000) { // -d /* FIXME: getopt32 should not depend on optind */ optind = 1; return gunzip_main(argc, argv); } +#endif foreground = signal(SIGINT, SIG_IGN) != SIG_IGN; if (foreground) { -- cgit v1.2.3