[tex-k] Patch for a bug in mktexlsr.pl
Norbert Preining
norbert at preining.info
Tue Jun 25 12:10:11 CEST 2024
Hi Martin,
thanks a lot for the report!
> there is a bug (actually two) in mktexlsr.pl with the handling
> of VCS ("hidden") files and directories like .git or CVS.
I guess that comes from the fact that nobody uses mktexlsr.pl, only the
MkTeXUpd facility which expects an already present ls-R file.
Thanks for looking into it!
BTW, what are your use-cases for mktexlsr.pl? The shell script is by far
faster then the perl script, so there is no real reason to use it.
> To trigger the bug, just create a CVS directory (with some
> files inside!) into some subdirectory of some texmf tree,
> and you will (very likely) observe that "mktexlsr.pl" does
> not generate output for all files of that tree; essentially,
> it "stops" when it meets the CVS directory.
Ok, I will try that out later on.
> You can find my patch with both fixes attached to this email
> or in the link below.
Thanks greatly appreciated.
Best regards
Norbert
--
PREINING Norbert https://www.preining.info
arXiv / Cornell University + IFMGA Guide + TU Wien + TeX Live
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
More information about the tex-k
mailing list.