Add the patch
This commit is contained in:
parent
c23722a610
commit
3c8add24ca
11
diffstat-compress.patch
Normal file
11
diffstat-compress.patch
Normal 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")) {
|
Loading…
Reference in New Issue
Block a user