Changeset 7584 for trunk/indexers/mg
- Timestamp:
- 2004-06-10T17:07:43+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mg/src/text/ivf.pass2.c
r7582 r7584 24 24 /* 25 25 $Log$ 26 Revision 1.3 2004/06/10 05:07:43 kjdon 27 have to declare vars before calling functions!! 28 26 29 Revision 1.2 2004/06/10 03:02:05 kjdon 27 30 fixed the bug that was causing it not to be able to create a second index using jni - basically had to reset all the static variables at the start of each pass. the tricky thing to find was the static variables in occur_to_lexical in ivf.pass2 … … 406 409 init_ivf_2 (char *file_name) 407 410 { 408 ResetStaticI2Vars();409 occur_to_lexical(0, 1); /* clear the static vars in here*/410 411 u_char prev[MAXSTEMLEN + 1]; 411 412 int i; … … 414 415 double logN = 0.0; 415 416 416 417 ResetStaticI2Vars(); /* clear the global statics */ 418 occur_to_lexical(0, 1); /* clear the statics in here*/ 419 417 420 if (open_files (file_name) == COMPERROR) 418 421 return COMPERROR;
Note:
See TracChangeset
for help on using the changeset viewer.