diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2025-03-30 20:09:02 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2025-03-30 20:52:34 +0200 |
commit | 82b31085f6ad23c3aaf5a928bd56fe06cbe63df5 (patch) | |
tree | b3b64eaa1a641d272a506ad4da0e5ec760c2af0a /newlib/libc/stdlib/wcstoll.c | |
parent | 6c5537c0298e9135ff27119c6a18dcc6f94459f5 (diff) | |
download | newlib-82b31085f6ad23c3aaf5a928bd56fe06cbe63df5.zip newlib-82b31085f6ad23c3aaf5a928bd56fe06cbe63df5.tar.gz newlib-82b31085f6ad23c3aaf5a928bd56fe06cbe63df5.tar.bz2 |
Cygwin: dlfcn: avoid ENOENT on dlcose after dlopen(cygwin1.dll)
When dlopen'ing the Cygwin DLL, refcounting the number of dlopen
calls fails because dll_list::find returns NULL if the address
resolves to the Cygwin DLL.
Fix this by adding a bool parameter to dll_list::find which allows
find to return the dll entry for the Cygwin DLL for the sake of
dlopen/dlclose/fork.
Fixes: 33297d810d90 ("Cygwin: dlfcn: Fix reference counting")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/wcstoll.c')
0 files changed, 0 insertions, 0 deletions