aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-01-16 08:35:43 +0800
committerjoe <joe@FreeBSD.org>2001-01-16 08:35:43 +0800
commit9a54f56502907e64ae3653014f9f3d5d0259cd9c (patch)
treecbd8787a3ee673a18701e0cc9a6018baff34be42 /CVSROOT
parent5881006d46521ab3975cee3aa4450ea16861805f (diff)
downloadfreebsd-ports-gnome-9a54f56502907e64ae3653014f9f3d5d0259cd9c.tar.gz
freebsd-ports-gnome-9a54f56502907e64ae3653014f9f3d5d0259cd9c.tar.zst
freebsd-ports-gnome-9a54f56502907e64ae3653014f9f3d5d0259cd9c.zip
Don't build the final log message onto a list that might not be empty.
Problem spotted by: bfumerola
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/log_accum.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index dc816f23bc6e..d4c187c19fd4 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -682,7 +682,7 @@ if (-e "$LAST_FILE.$PID") {
#
# Produce the final compilation of the log messages
#
-push @text, &build_header();
+@text = &build_header();
for ($i = 0; ; $i++) {
last if (! -e "$LOG_FILE.$i.$PID");
@lines = &read_logfile("$CHANGED_FILE.$i.$PID", "");