Date: Sat, 12 Jul 1997 21:16:08 -0400 (EDT) From: Drew Derbyshire <ahd@kew.com> To: current@FreeBSD.ORG Subject: ld.so.conf, comments, etc.... Message-ID: <199707130116.VAA00821@pandora.hh.kew.com>
next in thread | raw e-mail | index | archive | help
> From: Stefan Esser <se@FreeBSD.ORG> > On Jul 11, "Jordan K. Hubbard" <jkh@time.cdrom.com> wrote: > > Should /etc/ld.so.conf be an _override_ or an _add on_ to > > the "detected" ldconfig path list? > > Are comments allowed in /etc/ld.so.conf ? > Assuming you ignore lines starting with a hash character, > you could use "#keep" to preserve the old list, and make > the upgrade procedure (which messes around with /etc/rc.* > anyway) merge the currently found rc.conf default into > the place of that comment, which will trigger the override > behaviour ... I dislike comments which are not _really_ comments, it pollutes the syntax of files in a very ugly fashion. To create an internal directive, use a unique character, not the comment character. On the particular topic, I agree with the don't make /usr/local/etc's ld.so.conf add to the master list. -ahd- -- Drew Derbyshire Internet: ahd@kew.com Kendra Electronic Wonderworks Telephone: 617-279-9812 "The world is full of compromise and infinite red tape . . ."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707130116.VAA00821>