• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
dlclose changed behavior in 10.5.7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: dlclose changed behavior in 10.5.7
      • From: Peter O'Gorman <email@hidden>
  • Prev by Date: Snow Leoparad and XCode 3.0
  • Next by Date: Re: Snow Leoparad and XCode 3.0
  • Previous by thread: Re: Snow Leoparad and XCode 3.0
  • Next by thread: Re: dlclose changed behavior in 10.5.7
  • Index(es):
    • Date
    • Thread