libtool-patches
[Top][All Lists]
Advanced

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

Re: lt_dlerror changes


From: Charles Wilson
Subject: Re: lt_dlerror changes
Date: Fri, 18 Jun 2010 11:14:02 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

On 6/18/2010 10:27 AM, Peter O'Gorman wrote:
> 
> This should (hopefully) stop the preopen loader getting used twice,

It does, and I think this is the right thing to do here. But...

> and
> perhaps (I'm really dreaming now) give a better error.

Nope, doesn't help this issue.

But I think "clobbering the error message" is a red herring; we're
actually seeing the error set by the final loader that is called.

The final loader called, for "/usr/bin/last" -- which exists -- is the
'last' loader.  In last_open(), it sets LT_ERROR_FILE_NOT_FOUND as a
sort of "generic" error value -- which, strangely, is exactly the
OPPOSITE of the problem here.

The real problem is there actually IS a file named /usr/bin/last, but
because that name does not match exactly "last", last_open() reports
what it considers a generic error.

--
Chuck




reply via email to

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