> From: Gavin Smith <[email protected]> > Date: Sat, 10 Dec 2022 10:01:09 +0000 > Cc: [email protected], [email protected] > > On Sat, Dec 10, 2022 at 09:38:17AM +0200, Eli Zaretskii wrote: > > > From: Gavin Smith <[email protected]> > > > Date: Sat, 10 Dec 2022 00:22:37 +0000 > > > Cc: [email protected] > > > > > > The script was under contrib/fix-info-dir. The whole contrib/ directory > > > was excluded from the tar ball. > > > > > > Which distributions use the script and when/how is it run? > > > > > > The script appears to have hardly any attention paid to it since > > > it was written (the copyright year in the version message is still > > > printed as 1998!). > > > > > > I think it's unlikely that we could immediately add the functionality > > > to the info binary and the more immediate change would be distribute > > > the script. > > > > AFAIU, the script's effect is equivalent to deleting the existing DIR > > file and then running install-info on all the files in that directory > > to recreate DIR. Am I missing something? > > Yes, so putting this functionality inside the info program would require > it to open and process every single Info file on its path, which could > be slow.
The script that was removed didn't process all the Info files, only those in the directory of DIR. install-info already does that, and is quite fast. (I don't understand why you are talking about "the info program", I think it is unrelated to the issue at hand.)
