Gentoo Archives: gentoo-dev

From: Joe Peterson <lavajoe@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009)
Date: Tue, 24 Feb 2009 16:24:53
Message-Id: 49A41F50.2060500@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009) by Richard Freeman
1 Richard Freeman wrote:
2 > The dynamic linker doesn't need to consult the filename to figure out
3 > how to parse a shared object. It only consults the filename to figure
4 > out which shared object is needed. That is actually analogous to
5 > putting the package name/version in the ebuild filename.
6
7 Right. Plus, if the linker *did* consult the filename, imagine what
8 would happen if someone renamed the file (even by accident) and changed
9 the version? The parser should not be able to be so easily fooled -
10 could cause great confusion and or nasty and weird bugs - seems very
11 fragile to me. Having the version *in* the file is much safer, since
12 monkeying with that would require editing it the file, rather than
13 renaming it.
14
15 -Joe

Replies