| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Pete,
Cheers,
Rick
On Nov 10, 2005, at 12:19 PM, Peter S Lau wrote:
On Nov 10, 2005, at 1:01 PM, Richard L. Aurbach wrote:
The original writer also mentioned that the question related to cross-platform code. I've seen a number of cases in Windows where opening a file read/write generated a success-code result, but the file was actually opened read-only. There are definitely cases (particularly in cross-platform code and in some network environments) where the "try it and see" approach doesn't work.
I have little experience to fight with the file system other than the usual read, write, etc. But from what you described, would the write() fail?
Otherwise, how can you tell? open-write-close, open-read-verify?
would that be a bug in the file system to not return the correct success code?
pete
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >Re: Determining file permissions (From: "Richard L. Aurbach" <email@hidden>) | |
| >Re: Determining file permissions (From: Peter S Lau <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.