Re: Tracking files the right way
Re: Tracking files the right way
- Subject: Re: Tracking files the right way
- From: Chris Hanson <email@hidden>
- Date: Fri, 30 Aug 2002 10:14:21 -0500
At 11:16 AM +0200 8/30/02, Malte Tancred wrote:
On fredag, aug 30, 2002, at 02:47 Europe/Stockholm, Chris Hanson wrote:
The correct process for a safe save on a volume that doesn't
support FSExchangeObjects is to write the new content to foo~.txt,
rename the old file to some temporary name, rename foo~.txt to
foo.txt, and rename the temporary name to foo.txt.
Uhm, no, this would trash the new data, ie the last rename of the
temporary file (the original content) to foo.txt. :-)
That last part should have read "rename the temporary name to
foo~.txt", of course.
-- Chris
-- oops
--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Making Business Distributed | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
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.