From 203c6540a089ff9c44cb3fc87b2c460c856717f0 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 29 Jan 2006 18:08:08 +0000 Subject: [PATCH] Fix stupid mistake made by me when applying the patch for diff -p handling by Anand Kumria --- scripts/dpkg-source.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 068a1997..8c1cb3ff 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -1132,7 +1132,7 @@ sub checkdiff # read hunk header (@@) s/\n$// or &error("diff `$diff' is missing trailing newline"); next if /^\\ No newline/; - /^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@ .*$/ or + /^@@ -\d+(,(\d+))? \+\d+(,(\d+))? @\@( .*)?$/ or &error("Expected ^\@\@ in line $. of diff `$diff'"); my ($olines, $nlines) = ($1 ? $2 : 1, $3 ? $4 : 1); ++$hunk; -- 2.39.5