X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzip.c;h=93cc7384ff3959664807e7dad470fe01f4c4f99c;hb=b6def44c57e9b31b98b7766c8916531a4db9fd27;hp=cceb42000d48e80536f3c352a103c6cea63aa644;hpb=5382c729b658e85774b293c00fd600cae1d3937e;p=debian%2Fgzip diff --git a/gzip.c b/gzip.c index cceb420..93cc738 100644 --- a/gzip.c +++ b/gzip.c @@ -215,7 +215,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[] = { @@ -276,7 +275,7 @@ static const 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 } }; @@ -360,7 +359,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.", "", @@ -491,11 +489,8 @@ int main (int argc, char **argv) #else recursive = 1; #endif - break; - case 'R': - rsync = 1; break; - - case 'S': + break; + case 'S': #ifdef NO_MULTIPLE_DOTS if (*optarg == '.') optarg++; #endif @@ -562,11 +557,7 @@ int main (int argc, char **argv) ALLOC(ush, tab_prefix1, 1L<<(BITS-1)); #endif -#ifdef SIGPIPE exiting_signal = quiet ? SIGPIPE : 0; -#else - exiting_signal = 0; -#endif install_signal_handlers (); /* And get to work */