bug-texinfo
[Top][All Lists]
Advanced

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

Re: Using GNU's install-info in Debian instead of dpkg's install-info


From: Norbert Preining
Subject: Re: Using GNU's install-info in Debian instead of dpkg's install-info
Date: Sat, 27 May 2006 17:14:47 +0200
User-agent: Mutt/1.3.28i

On Sam, 27 Mai 2006, Ian Zimmerman wrote:
> Norbert> So I don't see where the problem of parsing the DIR file comes
> Norbert> in? Ok, assume someone has messed up our info file. Call
> Norbert> update-info-dir and the messed up file is gone, forever,
> Norbert> recreated.
> 
> It comes in because that's what GNU i-i does to find the section.
> I want to avoid it completely, be it in Debian or in GNU.  If GNU

Ok, but at least we cannot say that a messed up DIR file makes a
problem. The only problem is the parsing algorithm in GNU i-i. What
happens if someone puts the Section text somewhere else.

But I assume that one can fix the GNU i-i versions parsing that the
section search algorithm does not find the description of an entry.

> wants to keep the existing way and make the new way active dependent
> on an option, that's fine for me.  But the new code path should not
> intersect with the old.

The new code-path would be
- parse the info file and extract the section
- write the info into  some sort of config file into a to be specified 
  directory.
- After this read all the config files and generate a dir file from it.

Right?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GOLANT (adj.)
Blank, sly and faintly embarrassed. Pertaining to the expression seen
on the face of someone who has clearly forgotten your name.
                        --- Douglas Adams, The Meaning of Liff




reply via email to

[Prev in Thread] Current Thread [Next in Thread]