Add the patch

This commit is contained in:
Tim Waugh 2005-08-10 09:39:16 +00:00
parent c23722a610
commit 3c8add24ca

11
diffstat-compress.patch Normal file
View File

@ -0,0 +1,11 @@
--- 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")) {