Diff for /capa/capa51/GUITools/grader.funct.c between versions 1.1.1.1 and 1.2

version 1.1.1.1, 1999/09/28 21:25:36 version 1.2, 1999/11/02 19:10:44
Line 209  int capaFindSection(ClientData clientdat Line 209  int capaFindSection(ClientData clientdat
   return TCL_OK;    return TCL_OK;
 }  }
   
 /* finds how many set.db files there are */  
 int howManySetDBFile()  
 {  
   char     filename[FNAMELENGTH], *pathName;  
   int     ii;  
     
     
   pathName=getcwd(NULL,FNAMELENGTH);  
   ii=1;  
   sprintf(filename,"%s/records/set%d.db",pathName,ii);  
   while(!access(filename, F_OK))   
     {  
       ii++;  
       sprintf(filename,"%s/records/set%d.db",pathName,ii);  
     }  
   free(pathName);  
   return (ii-1);  
 }  
   
 /* makes a student report  /* makes a student report
  * Arguments: the student number   * Arguments: the student number
  */   */

Removed from v.1.1.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>