diff options
author | Brad King <brad.king@kitware.com> | 2022-01-13 20:46:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-13 20:46:20 (GMT) |
commit | ea70fb3905d98344daff63b2ed505ba294785326 (patch) | |
tree | 2a5d333d16650fc476963fa6bc4ff71944190742 /Utilities/cmlibuv/src/unix/dl.c | |
parent | a20d9e1463eaa8df1c11fcc244d324f2344e21f5 (diff) | |
parent | 09ec116d91c571dff0f108c23eabbcccdca767fa (diff) | |
download | CMake-ea70fb3905d98344daff63b2ed505ba294785326.zip CMake-ea70fb3905d98344daff63b2ed505ba294785326.tar.gz CMake-ea70fb3905d98344daff63b2ed505ba294785326.tar.bz2 |
Merge branch 'upstream-libuv' into update-libuv
# By libuv upstream
* upstream-libuv:
libuv 2022-01-13 (2fbfa035)
Diffstat (limited to 'Utilities/cmlibuv/src/unix/dl.c')
-rw-r--r-- | Utilities/cmlibuv/src/unix/dl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibuv/src/unix/dl.c b/Utilities/cmlibuv/src/unix/dl.c index fc1c052..80b3333 100644 --- a/Utilities/cmlibuv/src/unix/dl.c +++ b/Utilities/cmlibuv/src/unix/dl.c @@ -53,7 +53,7 @@ void uv_dlclose(uv_lib_t* lib) { int uv_dlsym(uv_lib_t* lib, const char* name, void** ptr) { dlerror(); /* Reset error status. */ *ptr = dlsym(lib->handle, name); - return uv__dlerror(lib); + return *ptr ? 0 : uv__dlerror(lib); } |