aboutsummaryrefslogtreecommitdiffstats
path: root/CVSROOT
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-10-24 02:51:08 +0800
committerjoe <joe@FreeBSD.org>2001-10-24 02:51:08 +0800
commit95e62cb4e42dec8676fb8810282a3aeedb1880ad (patch)
tree117ed57e101e2641a529667e28ee494c3afa891d /CVSROOT
parent5d3235236c1d0624be3a0ad68ac4ffee066e199c (diff)
downloadfreebsd-ports-gnome-95e62cb4e42dec8676fb8810282a3aeedb1880ad.tar.gz
freebsd-ports-gnome-95e62cb4e42dec8676fb8810282a3aeedb1880ad.tar.zst
freebsd-ports-gnome-95e62cb4e42dec8676fb8810282a3aeedb1880ad.zip
Clear up the handling of trailing blank lines.
All log file entries are now separated by three blank lines; previously only commits were, and directory creates weren't. Email messages now aren't terminated by two trailing blank lines.
Diffstat (limited to 'CVSROOT')
-rwxr-xr-xCVSROOT/log_accum.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/CVSROOT/log_accum.pl b/CVSROOT/log_accum.pl
index 60a34ca51f92..bdeca92112d5 100755
--- a/CVSROOT/log_accum.pl
+++ b/CVSROOT/log_accum.pl
@@ -418,7 +418,8 @@ sub do_changes_file {
my $changes = "$CVSROOT/CVSROOT/commitlogs/$category";
open CHANGES, ">>$changes"
or die "Cannot open $changes.\n";
- print CHANGES join("\n", @text), "\n\n";
+ print CHANGES map { "$_\n" } @text;
+ print CHANGES "\n\n\n";
close CHANGES;
}
}
@@ -778,8 +779,6 @@ for (my $i = 0; ; $i++) {
push @log_msg, " ", map {" $_"}
format_summaries("$SUMMARY_FILE.$i");
}
-
- push @log_msg, "", "";
}
#
# Put the log message at the beginning of the Changes file