sprintf(vector_string,"Context vector occurance results. Processed %d unique vectors.\r\n\r\n", mVectorCount);
sprintf(vector_string,"Context vector occurrence results. Processed %d unique vectors.\r\n\r\n", mVectorCount);
void CDTDDebug::DumpVectorRecord(void){    // do we have a table?  if (mVectorCount) {      // hopefully, they wont exceed 1K.    char vector_string[1024];    char path[1024];    path[0] = '\0';    // put in the verification directory.. else the root    if (mVerificationDir)       strcpy(path,mVerificationDir);    strcat(path,CONTEXT_VECTOR_STAT);    // open the stat file creaming any existing stat file    PRFileDesc * statisticFile = PR_Open(path,PR_CREATE_FILE|PR_RDWR,0);		if (statisticFile) {      PRInt32 i;      PRofstream ps;      ps.attach(statisticFile);      // oh what the heck, sort it again      if (mVectorCount) {	      qsort((void*)mVectorInfoArray,(size_t)mVectorCount,sizeof(VectorInfo*),compare);      }      // cute little header      sprintf(vector_string,"Context vector occurance results. Processed %d unique vectors.\r\n\r\n", mVectorCount);      ps << vector_string;      ps << "Invalid context vector summary (see " CONTEXT_VECTOR_STAT ") for mapping.\r\n";      ps << VECTOR_TABLE_HEADER;      // dump out the bad vectors encountered      for (i = 0; i < mVectorCount; i++) {        if (!mVectorInfoArray[i]->good_vector) {          MakeVectorString(vector_string, mVectorInfoArray[i]);          ps << vector_string;        }      }      ps << "\r\n\r\nValid context vector summary\r\n";      ps << VECTOR_TABLE_HEADER;      // take a big vector table dump (good vectors)      for (i = 0; i < mVectorCount; i++) {        if (mVectorInfoArray[i]->good_vector) {          MakeVectorString(vector_string, mVectorInfoArray[i]);          ps << vector_string;        }          // free em up.  they mean nothing to me now (I'm such a user)        if (mVectorInfoArray[i]->vector)           PR_Free(mVectorInfoArray[i]->vector);        PR_Free(mVectorInfoArray[i]);      } //for      PR_Close(statisticFile);    }//if      // ok, we are done with the table, free it up as well    PR_Free(mVectorInfoArray);    mVectorInfoArray = 0;    mVectorCount = 0;  } //if}