Subject: | perlindex stuck on /usr/bin/winesetup parsing |
Hello
perlindex -index is stuck when it tries to parse /usr/bin/winesetup.
Note that perlindex uses Pod::Text in this case.
The trouble is perlindex feeds a binary file (winestup) to Pod::Text:
# file /usr/bin/winesetup
/usr/bin/winesetup: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), for
GNU/Linux 2.2.0, stripped
When Pod::TExt tries to parse winesetup, it sends some error messages
and loops forever. One might argue that Pod::TExt is buggy, on the other
hand, one can hardly blame Pod::Text to misbehave when fed binary file.
I think that, when scanning /usr/bin (installscript installation
directory), perlindex whould first test the file type (may be with
File::Type) before trying to index it.
Cheers