Re: Status of install-info
> Cc: =?iso-8859-1?q?Nicolas_Fran=E7ois?= <nicolas.francois@centraliens.net>,
> debian-dpkg@lists.debian.org, bug-texinfo@gnu.org,
> Karl Berry <karl@freefriends.org>, Eli Zaretskii <eliz@gnu.org>,
> Joey Hess <joeyh@debian.org>, Norbert Preining <preining@logic.at>
> From: Ian Zimmerman <nobrowser@gmail.com>
> Date: Sat, 01 Jul 2006 19:14:36 -0700 (PDT)
>
> So, if I just process every (appropriately named) file in the directory,
> I'll end up with duplicate entries.
My failing memory suggests that install-info removes duplicate
entries. Am I right (I don't have time to look in the code right
now)?
> This can be avoided with a search data structure like a balanced
> tree or hash table, but that seems _really_ overkill. OTOH I can't
> just ignore symlinks, they could point somewhere else
> (e.g. /usr/share/<package>) and then I'd miss their entries.
> Suggestions?
How about if you ignore only those symlinks whose targets are in the
same directory?
Reply to: