Subversion Repositories wimsdev

Rev

Rev 16647 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16647 Rev 16711
Line 198... Line 198...
198
int exodepOK=1;
198
int exodepOK=1;
199
long int startmtime; /* start time in milliseconds */
199
long int startmtime; /* start time in milliseconds */
200
long int startmtime2; /* start time in microseconds */
200
long int startmtime2; /* start time in microseconds */
201
int backslash_insmath=0; /* \(...) substitution? */
201
int backslash_insmath=0; /* \(...) substitution? */
202
char examlogf[MAX_FNAME+1]; /* examlog file name */
202
char examlogf[MAX_FNAME+1]; /* examlog file name */
203
char examlogd[MAX_FNAME+1]; /* examlog file name */
203
char examlogd[MAX_FNAME+1]; /* examlog directory name */
-
 
204
char freeworklogf[MAX_FNAME+1]; /* freeworklog file name */
-
 
205
char freeworklogd[MAX_FNAME+1]; /* freeworklog directory name */
204
char exam_sheetexo[32]; /* sheet data of an exam */
206
char exam_sheetexo[32]; /* sheet data of an exam */
205
char loadavg[64];
207
char loadavg[64];
206
/* user file variable access control. */
208
/* user file variable access control. */
207
char *var_readable, *var_writable, *var_nr, *var_nw, *var_pfx;
209
char *var_readable, *var_writable, *var_nr, *var_nw, *var_pfx;
208
int hostcquota;
210
int hostcquota;
Line 1113... Line 1115...
1113
    lastftest[0]=0;
1115
    lastftest[0]=0;
1114
    lastdatafile[0]=0; lastdata=xmalloc(WORKFILE_LIMIT);
1116
    lastdatafile[0]=0; lastdata=xmalloc(WORKFILE_LIMIT);
1115
    outptr=outbuf;
1117
    outptr=outbuf;
1116
    instex_src[0]=instex_fname[0]=module_prefix[0]=0;
1118
    instex_src[0]=instex_fname[0]=module_prefix[0]=0;
1117
    examlogf[0]=examlogd[0]=exam_sheetexo[0]=0;
1119
    examlogf[0]=examlogd[0]=exam_sheetexo[0]=0;
-
 
1120
    freeworklogf[0]=freeworklogd[0]=0;
1118
    stdinbuf=NULL;
1121
    stdinbuf=NULL;
1119
    mkfname(tmp_dir,"../tmp/forall");
1122
    mkfname(tmp_dir,"../tmp/forall");
1120
    mkfname(session_dir,"../%s",SESSION_BASE);
1123
    mkfname(session_dir,"../%s",SESSION_BASE);
1121
    mkfname(s2_dir,"../%s",S2_BASE);
1124
    mkfname(s2_dir,"../%s",S2_BASE);
1122
    if(gettimeofday(&tv,NULL)) startmtime=startmtime2=0;
1125
    if(gettimeofday(&tv,NULL)) startmtime=startmtime2=0;