Author: guillem
Date: 2006-05-04 04:48:54 +0000 (Thu, 04 May 2006)
New Revision: 272
Modified:
trunk/ChangeLog
trunk/debian/changelog
trunk/scripts/install-info.pl
Log:
Make install-info add a new line after adding the last entry at the
end of the dir file, which makes the info readers able to see those
last enties (Nicolas Fran?\195?\131?\194?\167ois). Closes: #164495
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-05-04 04:38:12 UTC (rev 271)
+++ trunk/ChangeLog 2006-05-04 04:48:54 UTC (rev 272)
@@ -1,3 +1,9 @@
+2006-05-04 Nicolas François <[EMAIL PROTECTED]>
+
+ * scripts/install-info.pl: Add a new line after adding the last
+ entry at the end of the dir file, which makes the info readers
+ able to see those last entries.
+
2006-05-04 Wayne Davison <[EMAIL PROTECTED]>,
Guillem Jover <[EMAIL PROTECTED]>
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-05-04 04:38:12 UTC (rev 271)
+++ trunk/debian/changelog 2006-05-04 04:48:54 UTC (rev 272)
@@ -46,6 +46,9 @@
by renaming the infodir variable to dirfile and not appending the
'/dir' string except when initializing from '--info-dir' or
'--infodir' (Wayne Davison). Closes: #61640, #67237, #286275
+ * Make install-info add a new line after adding the last entry at the
+ end of the dir file, which makes the info readers able to see those
+ last enties (Nicolas François). Closes: #164495
-- Jacobo Tarrio <[EMAIL PROTECTED]> Wed, 3 May 2006 11:50:59 +0200
Modified: trunk/scripts/install-info.pl
===================================================================
--- trunk/scripts/install-info.pl 2006-05-04 04:38:12 UTC (rev 271)
+++ trunk/scripts/install-info.pl 2006-05-04 04:48:54 UTC (rev 272)
@@ -443,7 +443,8 @@
if (!$nowrite) {
open(NEW, "> $dirfile.new") || &ulquit("create $dirfile.new: $!");
- print(NEW @head, join("\n", @newwork)) || &ulquit("write $dirfile.new:
$!");
+ print(NEW @head, join("\n", @newwork), "\n") ||
+ &ulquit("write $dirfile.new: $!");
close(NEW) || &ulquit("close $dirfile.new: $!");
unlink("$dirfile.old");
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]