[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: documentation / behavior discrepancy with lt_dlopenext
From: |
Andy Wingo |
Subject: |
Re: documentation / behavior discrepancy with lt_dlopenext |
Date: |
Wed, 30 Mar 2011 23:36:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Greets Ralf,
On Wed 30 Mar 2011 21:20, Ralf Wildenhues <address@hidden> writes:
> * Andy Wingo wrote on Wed, Mar 30, 2011 at 07:19:18PM CEST:
>> "/usr/lib64/libSDL-1.2.so.0.11.3".
>
> Well, I'd kinda argue that that file has a library extension, but after
> that extension, there's version the info extension. This is common for
> several systems (e.g., GNU/Linux, Solaris).
Sure, that's probably right. However it's tough to tell. You could
look for "\.so(\.|$)" or something. But that's encoding lots of
details.
I think that uses of dlopenext are already oblivious to `stat' calls,
because they sanction looking for .la files before e.g. .so files, so
it's not a problem to just do what the doc says: bare path first, then
grovel extensions.
MHO :)
Cheers,
Andy
--
http://wingolog.org/