Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 04:40:30 -0500 (EST)
From:      "Matthew N. Dodd" <mdodd@FreeBSD.ORG>
To:        freebsd-threads@FreeBSD.ORG
Subject:   Re: /etc/libmap.conf
Message-ID:  <20030403043640.J18916@sasami.jurai.net>
In-Reply-To: <20030403020521.I18916@sasami.jurai.net>
References:  <20030403020521.I18916@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Apr 2003, Matthew N. Dodd wrote:
> ftp://ftp.jurai.net/users/winter/patches/libmap.patch

I've just updated this patch to support constrained mappings:

#
libc_r.so.5	libthr.so.1	# map all
[/usr/local/bin/mplayer]	# map specific
libc_r.so.5	libc_r.so.5
...
etc.

Default entries must be listed first.  If you run things out of your path
you'll need to provide two entries:

[foo]
libbar.so.1	libbaz.so.1
[/usr/bin/foo]
libbar.so.1	libbaz.so.1

I'm open to suggestions on how to specify that a constrained match
should specify that it wants to have basename() run against candidates.

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |



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