if (err = FSpOpenDF( &cfgFile, fsRdPerm, &fileRefNum))
if ((err = FSpOpenDF( &cfgFile, fsRdPerm, &fileRefNum)) != noErr)
ReadConfigFile(char **text){    Boolean				bSuccess = false;	OSErr 				err;	FSSpec 				cfgFile;	long				dirID, dataSize;	short				vRefNum, fileRefNum;	Str255 				fname;		*text = nil;		ERR_CHECK_RET(GetCWD(&dirID, &vRefNum), false);		/* open config.ini file */	GetIndString(fname, rStringList, sConfigFName);	if (err = FSMakeFSSpec(vRefNum, dirID, fname, &cfgFile) )		return false;	if (err = FSpOpenDF( &cfgFile, fsRdPerm, &fileRefNum))		return false;			/* read in entire text */	if (err = GetEOF(fileRefNum, &dataSize))		bSuccess = false;	if (dataSize > 0)	{		*text = (char*) NewPtrClear(dataSize);		if (!(*text))		{			ErrorHandler();			return false;		}			        if ((err = FSRead(fileRefNum, &dataSize, *text)) == noErr)			bSuccess = true;	}		/* close file */	if (!bSuccess || (err = FSClose(fileRefNum)))   		return false;	return bSuccess;}	