[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/diffstat/devel diffstat-compress.patch,NONE,1.1



Author: twaugh

Update of /cvs/dist/rpms/diffstat/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv961

Added Files:
	diffstat-compress.patch 
Log Message:
Add the patch

diffstat-compress.patch:
 diffstat.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE diffstat-compress.patch ---
--- 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")) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]