Subversion Repositories wimsdev

Rev

Rev 10 | Rev 7363 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 3923
Line 157... Line 157...
157
    if(buf[0]==0) return cd;
157
    if(buf[0]==0) return cd;
158
    if(buf[0]==':') p1=buf-1; else p1=strstr(buf,"\n:");
158
    if(buf[0]==':') p1=buf-1; else p1=strstr(buf,"\n:");
159
    for(n=m=0,k=cd->exocnt; p1 && k<MAX_CLASSEXOS && m<MAX_EXOS; p1=p2,m++) {
159
    for(n=m=0,k=cd->exocnt; p1 && k<MAX_CLASSEXOS && m<MAX_EXOS; p1=p2,m++) {
160
        p1+=2;
160
        p1+=2;
161
        p2=strstr(p1,"\n:"); if(p2) *p2=0;
161
        p2=strstr(p1,"\n:"); if(p2) *p2=0;
162
        if(*find_word_start(p1)<'1') continue;  /* status */
162
//      if(*find_word_start(p1)<'1') continue;  /* status */
163
        fnd_line(p1,3,buf2); if(buf2[0]==0) continue;
163
        fnd_line(p1,3,buf2); if(buf2[0]==0) continue;
164
        q1=find_word_start(buf2); q2=find_word_end(q1);
164
        q1=find_word_start(buf2); q2=find_word_end(q1);
165
        if(*q2) *q2++=0;
165
        if(*q2) *q2++=0;
166
        q2=find_word_start(q2); *find_word_end(q2)=0;
166
        q2=find_word_start(q2); *find_word_end(q2)=0;
167
        i=atoi(q1); j=atoi(q2); if(i<=0 || j<=0) continue;
167
        i=atoi(q1); j=atoi(q2); if(i<=0 || j<=0) continue;