man is broken and use.perl script shows the problem

Sean McNeil sean at mcneil.com
Thu Oct 21 22:15:43 PDT 2004


It turns out that if there are too many entries in /etc/manpath.config
man will core dump.  I sent a trace of this already.  I had done one too
many portupgrade -f that included perl.  The use.perl script blindly
adds additional lines

# -- use.perl generated line -- #
OPTIONAL_MANPATH        /usr/local/lib/perl5/5.8.5/man
OPTIONAL_MANPATH        /usr/local/lib/perl5/5.8.5/perl/man

and I ended up with a bunch of these.  You can reproduce the problem by
simply adding enough duplicates of these lines into /etc/manpath.config.

use.perl does the same thing with /etc/make.conf but at least in that
case it is harmless.

Cheers,
Sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041021/c5b3ea18/attachment.bin


More information about the freebsd-current mailing list