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. |
||
|---|---|---|
| .. | ||
| ares | ||
| unix | ||
| win | ||
| cares.c | ||
| fs-poll.c | ||
| uv-common.c | ||
| uv-common.h | ||