--- capa/capa51/pProj/capaCommon.c 2000/02/04 21:29:20 1.6 +++ capa/capa51/pProj/capaCommon.c 2000/02/22 18:19:02 1.9 @@ -329,7 +329,6 @@ long offset; /* entry->answers*3 == entry->tries, + fudge factor*/ a_line=capa_malloc(strlen(entry->tries)*5+MAX_STUDENT_NUMBER,1); sprintf(a_line,"%s %s,%s\n",entry->student_number,entry->answers,entry->tries); - printf("Setting:%s\n",a_line);/*TEST*/ new_len = strlen(a_line); sprintf(fmtbuf, "%%%dc",MAX_STUDENT_NUMBER); flockstream(fp); /* <==== lock the setX.db file */ @@ -608,7 +607,6 @@ int set; } ans_p[nq]='\0';tries_p[3*(nq)+2]='\0';tries_p[3*length-1]=','; } - printf("Got:%s:%s:\n",ans_p,tries_p);/*TEST*/ } return (offset); } @@ -3002,6 +3000,9 @@ capa_check_ans(ai,ans) AnswerInfo_t *ai result = check_formula_ans(s,ans,ai->ans_id_list,ai->ans_pts_list,tt,to); break; case ANSWER_IS_EXTERNAL: /* Not yet implemented */ + + + break; } return (result); @@ -3158,7 +3159,8 @@ capa_check_answer(p, answer) Problem_t * /* we assume the external program is called through popen() */ /* and the result will be given back as 0 or 1 to indicate the */ /* given answer is correct or not */ - + /* arguments are given to the program as */ + break; }