dlclose changed behavior in 10.5.7
dlclose changed behavior in 10.5.7
- Subject: dlclose changed behavior in 10.5.7
- From: Shai Shasag <email@hidden>
- Date: Wed, 27 May 2009 10:28:41 +0300
My code uses dlopen/dlclose to load/unload dynamic libraries.
Until 10.5.7 dlclose would close the library and the library's file.
When I upgraded to 10.5.7 the library remains open even after dlclose
returns.
In both cases dlclose return value is 0.
I see that the dll file is still open by running lsof (after dlclose
was called) from the command line:
lsof | grep dll_name
Under 10.5.6 and before this command return nothing - meaning the dll
file was closed.
Under 10.5.7 I get the a line with the name of the dll:
app_name 3434 shai txt REG 14,3 326312 2538026 /path/
to/dll/dll_name
Did dlclose change it's behaviour in 10.5.7?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden