re-merge the --rsyncable patch
[debian/gzip] / gzip.c
diff --git a/gzip.c b/gzip.c
index 415ebc5fc758b8f149548e14a43c38ae6986aa96..b867350f08ef11bc43ee344a64f2091c52b9dbe8 100644 (file)
--- 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':