NSDocument Ignoring Advisory Locks?
NSDocument Ignoring Advisory Locks?
- Subject: NSDocument Ignoring Advisory Locks?
- From: KJ Walker <email@hidden>
- Date: Wed, 11 Jan 2006 15:07:13 -0800
Situation: The application I'm working on supports multiple
documents and when a document is opened the source file has an
advisory lock set.
While the Finder respects this advisory lock, I've noticed the
NSDocuments writeToURL:ofType:error: passes a path to a tmp directory
(documention warned this may happen). However, then the framework
appears replace the file that has the advisory lock with the contents
of the temporary file, disregarding the advisory lock.
Anyone seen this and have some pointers on getting around this?
Thanks,
Kevin Walker
SmartSound Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden