[comp.sys.mac.programmer] Bug in File Manager, Docs

sam@uhura.neoucom.EDU (Scott A. Mason) (10/15/90)

I was writing a little utility program the other day involving the use of
PBGetCatInfo which requires a CInfoPBPtr.  The pointer I passed to the routine
was always NIL which threw me for about an hour or so. The solution was well
at hand, though.
In IM-IV (File Manager chapter), the description of CInfoPBPtr is
	CInfoPBPtr = ^cInfoPBRec
Now this is fine, but cInfoPBRec doesn't exist! It is actually CInfoPBRec.
The moral of this story is to use CInfoPBRec and pass &CInfoPBRec to your
low level File Manager routines.

I'm using LSC 3.02 so this may be LSC 3.02 specific, but the docs in IM-IV are
definitely wrong!
-- 
--------------------------------------------------------------------------------
"If it ain't broke, don't fix it," and certainly don't blame me.
UUCP:  {pitt,lll-winken,usenet,aablue}!neoucom!sam   INTERNET:  sam@neoucom.EDU
Scott A. Mason, Coordinator of Systems Operations, NEOUCOM