Path: utzoo!attcan!uunet!decwrl!adobe!jholt From: jholt@adobe.COM (Joe Holt) Newsgroups: comp.sys.mac.programmer Subject: Re: PBHGetFInfo help needed Message-ID: <3807@adobe.UUCP> Date: 11 Jul 90 16:24:05 GMT References: <1139@sirius.ucs.adelaide.edu.au> Reply-To: jholt@adobe.com (Joe Holt) Organization: Adobe Systems Incorporated, Mountain View Lines: 17 >I am getting an odd result from PGHGetFInfo, using vRefNum and DirID rather >than WDRefNum. After my call to PBHGetFInfo, the DirID has been changed to >something else. [...] If you're getting cat info for files, HFS sticks the file's "file number" into the ioDirID slot. This is meaningless to you and me and is primarily an annoyance -- ya gotta stick the file's dirID back in every time. If you want to see for yourself, try creating a directory, a file, and then another directory. Bet you dollars to donuts the file's "file number" lies numerically right between directory A and directory B's dirID's. Hmmm. Mac OS followers may notice that such file numbers were announced as part of System 7.0 nifty new file tracking abilities. Ever get the feeling we've been beta testing System 7.0 all along? -- joe