Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [workaround] file monitored by kqueue isn't deleted




Here's the workaround I wrote. I'm submitting it to the list because I would like feedback as to what could go wrong. I'm way out of my API comfort zone at this point, and calling unlink() makes me a little hesitant :-). I have tested the code; it works correctly for me.

Don't do it. Your users will love you the first time you delete a file that
shouldn't have been deleted, or at least they will once they finally work
out that it's you.


You want an answer from DTS (or Jim Magee if he's listening right now)
as to why the file isn't being deleted. The hack you're proposing is just
Bad.


 = Mike

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.