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: Um... How do you rename a file?



On Friday, Mar 26, 2004, at 17:48 Europe/Prague, p3consulting wrote:

(could be interesting to trace system calls to see what exactly movePath:toPath: does to fail where mv is successfull)

Let me guess: my money that mv just tries to 'rename', and goes to more complicated tricks only if failed. On the other hand, movePath:toPath: checks *first* whether the target exists, which would be quite all right... had the filesystem be, as God meant it, case sensitive.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Um... How do you rename a file? (From: p3consulting <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.