Package: dpkg
Version: 1.13.21
Severity: important
Tags: patch
Symptoms: when installing an info file that contains a correct
INFO-DIR-ENTRY, install-info says:
install-info(foo.info): unable to determine description for `dir' entry -
giving up
Immediate cause: a typo in the program. Patch below.
Root cause: the programmer chose a bad language that does not detect
typos. Please consider a better language.
--
Ludovic Brenta.
--- /usr/sbin/install-info 2006-06-04 18:06:59.000000000 +0200
+++ /chroot/sid/usr/sbin/install-info 2006-06-23 17:31:41.000000000 +0200
@@ -184,7 +184,7 @@
&dprint("multiline '$asread'");
} elsif ($asread =~ m/^\*\s*([^:]+):(\s*\(([^\)]+)\)\.|:)\s*/) {
$menuentry= $1;
- $description = $';
+ $description = $2;
$fileinentry = $3;
&dprint("infile menuentry '$menuentry' description
'$description'");
} elsif (length($asread)) {
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]