]> granicus.if.org Git - file/commitdiff
*** empty log message ***
authorChristos Zoulas <christos@zoulas.com>
Fri, 21 Jan 1994 01:38:24 +0000 (01:38 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 21 Jan 1994 01:38:24 +0000 (01:38 +0000)
src/compress.c

index 4eb499b5b77fc4159d420dc0348b092a1b9bca88..a665306ac9510ecf5441160b368d870a944b3b50 100644 (file)
@@ -4,7 +4,7 @@
  *                information if recognized
  *     uncompress(method, old, n, newch) - uncompress old into new, 
  *                                         using method, return sizeof new
- * $Id: compress.c,v 1.7 1993/10/27 20:59:05 christos Exp $
+ * $Id: compress.c,v 1.8 1994/01/21 01:38:24 christos Exp $
  */
 #include <stdio.h>
 #include <stdlib.h>
@@ -22,10 +22,11 @@ static struct {
 } compr[] = {
     { "\037\235", 2, { "uncompress", "-c", NULL }, 0 },
     { "\037\213", 2, { "gzip", "-dq", NULL }, 1 },
-#if 0
-    /* XXX pcat does not work, cause I don't know how to make it read stdin */
-    { "\037\036", 2, { "pcat", NULL, NULL }, 0 },
-#endif
+    /* 
+     * XXX pcat does not work, cause I don't know how to make it read stdin,
+     * so we use gzip
+     */
+    { "\037\036", 2, { "gzip", "-dq", NULL }, 0 },
 };
 
 static int ncompr = sizeof(compr) / sizeof(compr[0]);