char		*basename = file.GetLeafName(); if (nsnull != basename)
char		*baseFilename = file.GetLeafName(); if (nsnull != baseFilename)
SearchDataSource::isVisible(const nsNativeFileSpec& file){	PRBool		isVisible = PR_TRUE;#ifdef	XP_MAC	CInfoPBRec	cInfo;	OSErr		err;	nsFileSpec	fileSpec(file);	if (!(err = fileSpec.GetCatInfo(cInfo)))	{		if (cInfo.hFileInfo.ioFlFndrInfo.fdFlags & kIsInvisible)		{			isVisible = PR_FALSE;		}	}#else	char		*basename = file.GetLeafName();	if (nsnull != basename)	{		if ((!strcmp(basename, ".")) || (!strcmp(basename, "..")))		{			isVisible = PR_FALSE;		}		nsCRT::free(basename);	}#endif	return(isVisible);}