SOURCES: patch_minimizer - file name is the string up to first tab

sparky sparky at pld-linux.org
Sat Nov 25 01:30:44 CET 2006


Author: sparky                       Date: Sat Nov 25 00:30:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- file name is the string up to first tab

---- Files affected:
SOURCES:
   patch_minimizer (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/patch_minimizer
diff -u SOURCES/patch_minimizer:1.5 SOURCES/patch_minimizer:1.6
--- SOURCES/patch_minimizer:1.5	Thu Nov 23 15:35:47 2006
+++ SOURCES/patch_minimizer	Sat Nov 25 01:30:39 2006
@@ -49,9 +49,9 @@
 
 sub find_file_common($$) {
 	my ($l1, $l2) = @_;
-	$l1 =~ /^--- (.*)\t(.*?)$/;
+	$l1 =~ /^--- (.*?)\t(.*)$/;
 	my $f = $1;
-	$l2 =~ /^\+\+\+ (.*)\t(.*?)$/;
+	$l2 =~ /^\+\+\+ (.*?)\t(.*)$/;
 	my $ret = find_common($f, $1);
 	#warn "FILES: $f, $1 -> $ret\n";
 	return $ret;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/patch_minimizer?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list