X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzip.c;h=9e2a890fc12040575a848a90f965ffe48d1ef1db;hb=8e974c4c1ec984772720c773220e365d97006974;hp=415ebc5fc758b8f149548e14a43c38ae6986aa96;hpb=dc0ab95dbae38577efebe2283fc9b76e92ef4233;p=debian%2Fgzip diff --git a/gzip.c b/gzip.c index 415ebc5..9e2a890 100644 --- a/gzip.c +++ b/gzip.c @@ -218,31 +218,6 @@ int ofd; /* output file descriptor */ unsigned insize; /* valid bytes in inbuf */ 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[] = { @@ -296,7 +271,6 @@ struct option longopts[] = {"best", 0, 0, '9'}, /* compress better */ {"lzw", 0, 0, 'Z'}, /* make output compatible with old compress */ {"bits", 1, 0, 'b'}, /* max number of bits per code (implies -Z) */ - {"rsyncable", 0, 0, 'R'}, /* make rsync-friendly archive */ { 0, 0, 0, 0 } }; @@ -378,7 +352,6 @@ 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", "", "With no FILE, or when FILE is -, read standard input.", "", @@ -505,9 +478,7 @@ int main (int argc, char **argv) #else recursive = 1; #endif - case 'R': - rsync = 1; break; - + break; case 'S': #ifdef NO_MULTIPLE_DOTS if (*optarg == '.') optarg++;