On 6/17/2010 4:54 PM, Peter O'Gorman wrote: > Well, this is what I ended up with, it does not change the currently > documented saving of error messages until lt_dlerror() is called, it > copies the error message to ensure that we don't return garbage when > lt_dlerror is called. I think I also got all the places where we were > setting file not found. > > Still, I am not overjoyed with this.
I'm sorry I sidetracked this thread, with the discussion on *using* this patch to track down an error in an different part of libltdl on cygwin. But... I think this patch is a decent, incremental approach to fixing the error reporting in libltdl. Unless somebody else is working on something better in secret, I think this version ought to be pushed. Not that my opinion counts for much, but Peter's patch DID help in tracking down a problem already, so that's definitely a point in its favor. -- Chuck