|
@@ -1234,7 +1234,6 @@ sub process {
|
|
$linenr++;
|
|
$linenr++;
|
|
|
|
|
|
my $rawline = $rawlines[$linenr - 1];
|
|
my $rawline = $rawlines[$linenr - 1];
|
|
- my $hunk_line = ($realcnt != 0);
|
|
|
|
|
|
|
|
#extract the line range in the file after the patch is applied
|
|
#extract the line range in the file after the patch is applied
|
|
if ($line=~/^\@\@ -\d+(?:,\d+)? \+(\d+)(,(\d+))? \@\@/) {
|
|
if ($line=~/^\@\@ -\d+(?:,\d+)? \+(\d+)(,(\d+))? \@\@/) {
|
|
@@ -1274,6 +1273,8 @@ sub process {
|
|
$realcnt--;
|
|
$realcnt--;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ my $hunk_line = ($realcnt != 0);
|
|
|
|
+
|
|
#make up the handle for any error we report on this line
|
|
#make up the handle for any error we report on this line
|
|
$prefix = "$filename:$realline: " if ($emacs && $file);
|
|
$prefix = "$filename:$realline: " if ($emacs && $file);
|
|
$prefix = "$filename:$linenr: " if ($emacs && !$file);
|
|
$prefix = "$filename:$linenr: " if ($emacs && !$file);
|