diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-17 10:10:17 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-17 10:10:17 +0000 |
commit | 02f0d608a94df2e44dab0713baf2cde0651a44ef (patch) | |
tree | 8f0f47eff94eb91eefc3742a925748ae27886c17 /solenv/bin/patch_sanitizer.pl | |
parent | ef5e7b2c65827cd34328a0f8a9ed55367bef83fa (diff) |
#i10000# Compare the whole patch data instead of number of lines.
Diffstat (limited to 'solenv/bin/patch_sanitizer.pl')
-rwxr-xr-x | solenv/bin/patch_sanitizer.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/patch_sanitizer.pl b/solenv/bin/patch_sanitizer.pl index a42aaab213e6..d08699c1c0b0 100755 --- a/solenv/bin/patch_sanitizer.pl +++ b/solenv/bin/patch_sanitizer.pl @@ -11,7 +11,7 @@ eval 'exec perl -wS $0 ${1+"$@"}' # # $RCSfile: patch_sanitizer.pl,v $ # -# $Revision: 1.4 $ +# $Revision: 1.5 $ # # This file is part of OpenOffice.org. # @@ -51,7 +51,7 @@ open SORTEDPATCH, "> $sortedfile"; foreach my $file (sort (keys %newpatchfile)) { print SORTEDPATCH $file."\t"; if (defined($oldpatchfile{$file})) { - if ( @{$oldpatchfile{$file}{'data'}} == @{$newpatchfile{$file}{'data'}} ) { + if ( (join '', @{$oldpatchfile{$file}{'data'}}) eq (join '', @{$newpatchfile{$file}{'data'}}) ) { # patch data for the file hasn't been modified, use the header from # the old patch, to reduce noise (keep the old timestamps) print SORTEDPATCH $oldpatchfile{$file}{'origtimestamp'}."\n"; |