• 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
Re: deleting a copy of a dylib fails after dlcose
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deleting a copy of a dylib fails after dlcose


  • Subject: Re: deleting a copy of a dylib fails after dlcose
  • From: Alfred Van Hoek <email@hidden>
  • Date: Thu, 7 Dec 2006 09:25:21 -0500


On Dec 7, 2006, at 7:57 AM, Peter O'Gorman wrote:
We usually copy our custom dylib to a temporary folder, call dlopen, dlsym and at last dlclose. No errors. Then we want to delete the dylib but an error 104 is produced, file in use. Why is this happening, and what is the remedy?

How are you trying to delete the file?

Seems to be trivial now, given your answer below ;-)

You should be able to unlink(2) immediately after the dlopen(3), there is no need to wait until after the dlclose.

That's it, and many thanks,

Alfred
_______________________________________________
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


References: 
 >deleting a copy of a dylib fails after dlcose (From: Alfred Van Hoek <email@hidden>)
 >Re: deleting a copy of a dylib fails after dlcose (From: "Peter O'Gorman" <email@hidden>)

  • Prev by Date: add java classes/sources to code sense
  • Next by Date: Re: Builds cause iTunes to stutter
  • Previous by thread: Re: deleting a copy of a dylib fails after dlcose
  • Next by thread: Unexpected NSEvents.h error after switching to Release build
  • Index(es):
    • Date
    • Thread