diff options
author | joe <joe@FreeBSD.org> | 2001-01-16 08:35:43 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-01-16 08:35:43 +0800 |
commit | 9a54f56502907e64ae3653014f9f3d5d0259cd9c (patch) | |
tree | cbd8787a3ee673a18701e0cc9a6018baff34be42 /CVSROOT | |
parent | 5881006d46521ab3975cee3aa4450ea16861805f (diff) | |
download | freebsd-ports-graphics-9a54f56502907e64ae3653014f9f3d5d0259cd9c.tar.gz freebsd-ports-graphics-9a54f56502907e64ae3653014f9f3d5d0259cd9c.tar.zst freebsd-ports-graphics-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-x | CVSROOT/log_accum.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl index dc816f23bc6..d4c187c19fd 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", ""); |