From 95e62cb4e42dec8676fb8810282a3aeedb1880ad Mon Sep 17 00:00:00 2001 From: joe Date: Tue, 23 Oct 2001 18:51:08 +0000 Subject: 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. --- CVSROOT/log_accum.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'CVSROOT/log_accum.pl') 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 -- cgit