dladdr and dll refcount

2025-04-04 Thread Jeremy Drake via Cygwin
I just happened to look at dlfcn.cc dladdr function, and I had a question. Should dladdr be using the GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT flag? It doesn't seem like dladdr should be incrementing the refcount. -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: symbolic link curiousity in 3.6.0

2025-04-04 Thread Pádraig Brady via Cygwin
On 29/03/2025 16:31, Paul Eggert wrote: On 3/29/25 04:30, Corinna Vinschen wrote: What it should do if only the POSIX.1e draft 17 functions are available is something along these lines: Yes, that sounds like a better approach. However, shouldn't it use O_PATH not O_RDONLY? We might lack read a