while (de = PR_ReadDir(d, n++))
while ((de = PR_ReadDir(d, (PRDirFlags)(n++))) != NULL)
fsHasAssertion (RDFT rdf, RDF_Resource u, RDF_Resource s, void* v, 		       RDF_ValueType type, PRBool tv){	PRBool		ans = 0;	PRDir		*d;	PRDirEntry	*de;	char		*filePathname, *name;	int		len, n=0;	if ((s == gCoreVocab->RDF_parent) && (type == RDF_RESOURCE_TYPE) &&		(resourceType(u) == LFS_RT) && (containerp(v)) && 		(resourceType((RDF_Resource)v) == LFS_RT) &&		(startsWith(resourceID((RDF_Resource)v),  resourceID(u))))	{		d = OpenDir(resourceID((RDF_Resource)v));		if ((filePathname = copyString(resourceID(u))) == NULL)		{			return(0);		}		len = strlen(filePathname)-1;		if (filePathname[len] == '/')		{			filePathname[len] = '\0';		}		name = unescapeURL(&filePathname[ 1 + revCharSearch(XP_DIRECTORY_SEPARATOR,				filePathname)]);		if (name == NULL)		{			freeMem(filePathname);			return(0);		}		while (de = PR_ReadDir(d, n++))		{			if (strcmp(name, de->name) == 0)			{				ans = 1;				break;			}		}		PR_CloseDir(d);		XP_FREE(name);		freeMem(filePathname);		return ans;	}	else	{		return(0);	}}