libuv/src
Ben Noordhuis 1b6843482a unix: assume that dlopen() clobbers dlerror()
Or rather, don't assume that dlopen() does *not* clobber dlerror().

Joe Ferner reports that loading libjava on OS X sets dlerror() even when
dlopen() succeeds, which makes uv_dlopen() raise an error when it shouldn't.

I haven't been able to reproduce it but it's possible that libjava clobbers
dlerror() by trying (and failing) to load other libraries.

At any rate, Joe confirmed that this patch addresses the issue.

Fixes #462.
2012-06-28 01:54:02 +02:00
..
ares
unix unix: assume that dlopen() clobbers dlerror() 2012-06-28 01:54:02 +02:00
win win: map ERROR_PRIVILEGE_NOT_HELD to UV_EPERM 2012-06-25 16:37:08 +02:00
cares.c Move shared c-ares glue code from uv-common to cares.c 2012-05-22 16:11:23 +02:00
fs-poll.c unix, windows: stat: never pass NULL to cb 2012-06-20 17:56:37 +02:00
uv-common.c unix, windows: add debug mode handle printer 2012-06-06 04:25:12 +02:00
uv-common.h unix, windows: share uv__handle_init() 2012-06-13 01:28:58 +02:00