Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2004 22:15:39 -0700
From:      Sean McNeil <sean@mcneil.com>
To:        freebsd-current@freebsd.org
Subject:   man is broken and use.perl script shows the problem
Message-ID:  <1098422139.1194.4.camel@server.mcneil.com>

next in thread | raw e-mail | index | archive | help

--=-UPgG/RYDBkjfMW1ycH24
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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


--=-UPgG/RYDBkjfMW1ycH24
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBeJd7yQsGN30uGE4RAhzpAJ9K/0t8/hdwSEkYK+gW2aw+3pKiEwCglNtU
MT3NYjn9iFO+GhQMD1Z/Zy4=
=qlN2
-----END PGP SIGNATURE-----

--=-UPgG/RYDBkjfMW1ycH24--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1098422139.1194.4.camel>