libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libltdl obscures error messages


From: Marius Vollmer
Subject: Re: libltdl obscures error messages
Date: 28 Jul 2001 00:17:14 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Gary V.Vaughan <address@hidden> writes:

> WHat about having lt_dlinit() deiberately try to load a non-existent
> file directly through each active loader, and storing the error
> message the system returns?  Subsequent calls to lt_dlopen then have
> a reference error to compare against...

Unless someone fiddles with the locale along the way.  The reference
error message could also include the filename (which it atually does
with recent versions of GNU/Linux dlopen, I think), so we would have
to cleverly mask that out.  All in all, I don't think this would be
better than relying on dlopen to set errno to ENOENT, if only by
accident.  We can lobby the implementors of dlopen to fix this
behavior.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]