dladdr and dll refcount

Jeremy Drake cygwin@jdrake.com
Sat Apr 5 05:28:46 GMT 2025


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.



More information about the Cygwin mailing list