X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzip.c;h=b867350f08ef11bc43ee344a64f2091c52b9dbe8;hb=de0d98027cdc141341d2131293662ceea03f97fd;hp=415ebc5fc758b8f149548e14a43c38ae6986aa96;hpb=dc0ab95dbae38577efebe2283fc9b76e92ef4233;p=debian%2Fgzip diff --git a/gzip.c b/gzip.c index 415ebc5..b867350 100644 --- a/gzip.c +++ b/gzip.c @@ -220,30 +220,6 @@ unsigned inptr; /* index of next byte to be processed in inbuf */ unsigned outcnt; /* bytes in output buffer */ int rsync = 0; /* make ryncable chunks */ -static int handled_sig[] = - { - /* SIGINT must be first, as 'foreground' depends on it. */ - SIGINT - -#ifdef SIGHUP - , SIGHUP -#endif -#ifdef SIGPIPE - , SIGPIPE -#else -# define SIGPIPE 0 -#endif -#ifdef SIGTERM - , SIGTERM -#endif -#ifdef SIGXCPU - , SIGXCPU -#endif -#ifdef SIGXFSZ - , SIGXFSZ -#endif - }; - static int handled_sig[] = { /* SIGINT must be first, as 'foreground' depends on it. */ @@ -378,7 +354,7 @@ local void help() " -Z, --lzw produce output compatible with old compress", " -b, --bits=BITS max number of bits per code (implies -Z)", #endif - " --rsyncable Make rsync-friendly archive", + " --rsyncable Make rsync-friendly archive", "", "With no FILE, or when FILE is -, read standard input.", "", @@ -505,7 +481,8 @@ int main (int argc, char **argv) #else recursive = 1; #endif - case 'R': + break; + case 'R': rsync = 1; break; case 'S':