Path: utzoo!attcan!uunet!wuarchive!brutus.cs.uiuc.edu!apple!claris!peirce From: peirce@claris.com (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: System 7.0 & Aliases Message-ID: <10516@claris.com> Date: 25 Aug 89 01:41:10 GMT References: <1989Aug23.180141.16033@mentor.com> Reply-To: peirce@claris.com (Michael Peirce) Organization: Claris Corporation, Santa Clara CA Lines: 24 In article <1989Aug23.180141.16033@mentor.com> tomc@mentor.com (Tom Carstensen) writes: >> Note, this means that your Save command had better write the data back >> into the original file, and not into some newly created file that it will >> rename if the write succeeds. (if it destroys the original in the course >> of the save, it will disconect any aliases that file might have.) > My understanding was that save/rename would still be the preferred Save command technique. System 7 would provide a SetTheFileIDPlease call so that the the sequence would become something like (1) save new file, (2) get old file ID, (3) delete old file, (4) set new file's ID to the old file's ID. Of course system 7 is always subject to change and the above is remembered from info gathered at the developer's conference. Claris Corp. | Michael R. Peirce -------------+-------------------------------------- | 5201 Patrick Henry Drive MS-C4 | Box 58168 | Santa Clara, CA 95051-8168 | (408) 987-7319 | AppleLink: peirce1 | Internet: peirce@claris.com | uucp: {ames,decwrl,apple,sun}!claris!peirce