The following commit has been merged in the sourcev3 branch:
commit 80fc3062f3d0c980b99b1a457140476567ef6957
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Wed Mar 12 10:32:20 2008 +0100

    * scripts/Dpkg/Source/Patch.pm: Bugfix: use return instead of next in 
function.

diff --git a/scripts/Dpkg/Source/Patch.pm b/scripts/Dpkg/Source/Patch.pm
index b272124..2135be0 100644
--- a/scripts/Dpkg/Source/Patch.pm
+++ b/scripts/Dpkg/Source/Patch.pm
@@ -140,7 +140,7 @@ sub add_diff_directory {
     my %files_in_new;
     my $scan_new = sub {
         my $fn = File::Spec->abs2rel($_, $new);
-        next if &$diff_ignore($fn);
+        return if &$diff_ignore($fn);
         $files_in_new{$fn} = 1;
         lstat("$new/$fn") || syserr(_g("cannot stat file %s"), "$new/$fn");
         my $mode = S_IMODE((lstat(_))[2]);

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to