* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.
This commit is contained in:
parent
26797de314
commit
ac5e21b028
|
@ -1,3 +1,7 @@
|
|||
2005-05-30 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* dlfcn.cc (set_dl_error): Use UNIX error rather than Windows error.
|
||||
|
||||
2005-05-29 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygmagic: Remove debugging cruft missed on 2005-05-21.
|
||||
|
|
|
@ -27,7 +27,7 @@ details. */
|
|||
static void __stdcall
|
||||
set_dl_error (const char *str)
|
||||
{
|
||||
__small_sprintf (_my_tls.locals.dl_buffer, "%s, %E", str);
|
||||
strcpy (_my_tls.locals.dl_buffer, strerror (get_errno ()));
|
||||
_my_tls.locals.dl_error = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue