This commit is contained in:
rsc 2006-04-20 21:51:05 +00:00
parent bcb7f64ea5
commit c291b2ec81
2 changed files with 3 additions and 2 deletions

View file

@ -191,7 +191,8 @@ main(int argc, char **argv)
debug || debug ||
# endif # endif
report == 1)statistics(); report == 1)statistics();
Bterm(fin); if(fin)
Bterm(fin);
exits(0); /* success return code */ exits(0); /* success return code */
} }

View file

@ -173,7 +173,7 @@ first(int v) /* calculate set of positions with v as root which can be active in
break; break;
case RSCON: case RSCON:
i = stnum/2 +1; i = stnum/2 +1;
p = (uchar *)right[v]; p = (uchar*)right[v];
while(*p) while(*p)
if(*p++ == i){ if(*p++ == i){
first(left[v]); first(left[v]);