[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Status of install-info
From: |
Eli Zaretskii |
Subject: |
Re: Status of install-info |
Date: |
Sun, 02 Jul 2006 06:24:16 +0300 |
> Cc: =?iso-8859-1?q?Nicolas_Fran=E7ois?= <address@hidden>,
> address@hidden, address@hidden,
> Karl Berry <address@hidden>, Eli Zaretskii <address@hidden>,
> Joey Hess <address@hidden>, Norbert Preining <address@hidden>
> From: Ian Zimmerman <address@hidden>
> 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?