summaryrefslogtreecommitdiffstats
path: root/CVSROOT/log_accum.pl
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-11-29 05:36:55 +0000
committerpeter <peter@FreeBSD.org>1999-11-29 05:36:55 +0000
commit1b88d5a82fb77bb12f5d74893e90557d390b3fc7 (patch)
tree8437f526b24a9b8db5da82854c2205de44248274 /CVSROOT/log_accum.pl
parent26056ed132b7c42deeb245eb7591f37df78b2c57 (diff)
downloadFreeBSD-ports-1b88d5a82fb77bb12f5d74893e90557d390b3fc7.zip
FreeBSD-ports-1b88d5a82fb77bb12f5d74893e90557d390b3fc7.tar.gz
Try and stop the line counter from getting confused by preventing it
from seeing any more than the 'lines:' in the rcs header itself. It used to scan the entire log message and could "find" another entry if another log message, complete with full headers, was pasted into the middle.
Diffstat (limited to 'CVSROOT/log_accum.pl')
-rwxr-xr-xCVSROOT/log_accum.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index 827d113..8b0bccc 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -237,6 +237,7 @@ sub change_summary_changed {
$rcsfile = $revline[3];
$rcsfile =~ s,^$CVSROOT[/]+,,;
$rcsfile =~ s/,v$//;
+ last;
}
}
close(RCS);
@@ -249,6 +250,7 @@ sub change_summary_changed {
$delta = $_;
$delta =~ s/^.*;//;
$delta =~ s/^[\s]+lines://;
+ last;
}
}
close(RCS);
OpenPOWER on IntegriCloud