[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Report proper errors from the loadlibrary loader.
From: |
Peter Rosin |
Subject: |
Report proper errors from the loadlibrary loader. |
Date: |
Sat, 02 Jan 2010 04:02:57 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Hi!
Please consider the attached patch.
I'm just about to go skiing for a week or so, so I'll push when I get
back if this patch is blessed (knock wood) after I leave...
Cheers,
Peter
ChangeLog:
2010-01-02 Peter Rosin <address@hidden>
Report proper errors from the loadlibrary loader.
* libltdl/loaders/loadlibrary.c: Update copyright years.
(loadlibraryerror): New helper function that returns the
latest Windows error as a string, or the provided default
string on failure to do so.
(LOADLIB_SETERROR): New macro that wraps previous to make it
easy to use.
(vm_open, vm_close, vm_sym): Make use of previous.
(LOCALFREE): New macro to help free the Windows error string.
(vl_exit): Make use of previous.
loadlibrary-error.patch
Description: Text document
- Report proper errors from the loadlibrary loader.,
Peter Rosin <=
- Re: Report proper errors from the loadlibrary loader., Peter Rosin, 2010/01/02
- Re: Report proper errors from the loadlibrary loader., Ralf Wildenhues, 2010/01/04
- Re: Report proper errors from the loadlibrary loader., Peter Rosin, 2010/01/11
- Re: Report proper errors from the loadlibrary loader., Ralf Wildenhues, 2010/01/17
- Re: Report proper errors from the loadlibrary loader., Bob Friesenhahn, 2010/01/17
- Re: Report proper errors from the loadlibrary loader., Peter Rosin, 2010/01/17
- Re: Report proper errors from the loadlibrary loader., Ralf Wildenhues, 2010/01/20
- Re: Report proper errors from the loadlibrary loader., Peter Rosin, 2010/01/21
- Re: Report proper errors from the loadlibrary loader., Peter Rosin, 2010/01/18