This repository has been archived by the owner on May 4, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information