diffstat/diffstat-compress.patch
2005-08-10 09:39:16 +00:00

12 lines
447 B
Diff

--- diffstat-1.38/diffstat.c.compress 2005-08-10 09:54:46.000000000 +0100
+++ diffstat-1.38/diffstat.c 2005-08-10 09:55:11.000000000 +0100
@@ -1007,7 +1007,7 @@
size_t len = strlen(name);
if (len > 2 && !strcmp(name + len - 2, ".Z")) {
- verb = "compress -dc %s";
+ verb = "gzip -dc %s";
} else if (len > 3 && !strcmp(name + len - 3, ".gz")) {
verb = "gzip -dc %s";
} else if (len > 4 && !strcmp(name + len - 4, ".bz2")) {