[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#139569: patch: info patch doesn't lead to the info docs



note: Please bcc control@bugs, so it doesn't appear in headers when people
reply.

On Tue, 26 Mar 2002, Santiago Vila wrote:

> Summary of this bug for the dpkg maintainers:
>
> Debian install-info is unable to properly understand the contents of
> the latest diffutils (2.8) info file. It says:
>
> install-info: warning, ignoring confusing INFO-DIR-ENTRY in file.
>
> The info file says:
>
> START-INFO-DIR-ENTRY
> Diff: (diff).                 Comparing and merging files.
> END-INFO-DIR-ENTRY
>
> INFO-DIR-SECTION Individual utilities
> START-INFO-DIR-ENTRY
> * cmp: (diff)Invoking cmp.                      Byte-by-byte diff.
> * diff3: (diff)Invoking diff3.                  Three-way diff.
> * patch: (diff)Invoking patch.                  Automatically applying diffs.
> * sdiff: (diff)Invoking sdiff.                  Interactively merge files.
> END-INFO-DIR-ENTRY
>
> I understand that Debian install-info does not need to be command-line
> compatible with GNU install-info, but in this case it is the
> contents of the info file itself what Debian install-info does not
> understand.

Well, first off, dpkg's install-info will only process one
START-INFO-DIR-ENTRY section per file.

So, upon looking at the first section, $asread will contain:
'Diff: (diff).                 Comparing and merging files.\n'

This is compared against:

        if ($asread =~ m/(\*\s*[^:]+:\s*\(([^\)]+)\).*\. *.*\n){2,}/) {

and

        } elsif ($asread =~ m/^\*\s*([^:]+):(\s*\(([^\)]+)\)\.|:)\s*/) {

This shows that it wants a line to start with *.  So, my question is, is not
having the leading * valid?



-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: