From cd3c362a57cf62fb0828e4db061e0ad25e872b4b Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 25 Jun 2016 13:02:36 +0200 Subject: [PATCH] info/toc: Tidy up last line mksubj.pl neglects to terminate info/toc's last line with a newline. info-test doesn't care. Tidy up anyway. Signed-off-by: Markus Armbruster --- info/mksubj.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/info/mksubj.pl b/info/mksubj.pl index 993dacef..c8611c98 100644 --- a/info/mksubj.pl +++ b/info/mksubj.pl @@ -29,7 +29,7 @@ # # Known contributors to this file: # Ken Stevens (when it was still info.pl) -# Markus Armbruster, 2006-2014 +# Markus Armbruster, 2006-2016 # # Usage: mksubj.pl SUBJECT... INFO-FILE... # @@ -259,6 +259,7 @@ sub write_toc { open(TOC, ">info/toc") or die "Can't open info/toc for writing: $!"; print TOC join("\n", sort @toc); + print TOC "\n"; close TOC; }