} if(PR_FALSE==result){
if(PR_FALSE==result){ #ifdef NS_WIN32  int iCount = 1; char filename[_MAX_PATH]; do { sprintf(filename,"%s/html%04d.dbg", path, iCount++); } while (PR_Access(filename,PR_ACCESS_EXISTS) == PR_SUCCESS); PRFileDesc * debugFile = PR_Open(filename,PR_CREATE_FILE|PR_RDWR,0); if (debugFile) { PR_Write(debugFile,gURLRef,PL_strlen(gURLRef)); PR_Write(debugFile,"\n",PL_strlen("\n")); PR_Close(debugFile); } #endif
PRBool VerifyContextVector(PRInt32 aTags[],PRInt32 count,nsIDTD* aDTD) {  PRBool  result=PR_TRUE;  if(0!=gVerificationOutputDir) {      if(aDTD){#ifdef XP_PC      char    path[_MAX_PATH+1];      strcpy(path,gVerificationOutputDir);#endif      int i=0;            for(i=0;i<count;i++){#ifdef NS_WIN32        strcat(path,"/");        const char* name=GetTagName(aTags[i]);        strcat(path,name);        mkdir(path);#endif      }      //ok, now see if we understand this vector      result=aDTD->VerifyContextVector(aTags,count);    }    if(PR_FALSE==result){      //add debugging code here to record the fact that we just encountered      //a context vector we don't know how to handle.    }  }  return result;}