Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 314799
Collapse All | Expand All

(-)WordNet-3.0/lib/morph.c (-2 / +2 lines)
Lines 375-388 static char *exc_lookup(char *word, int Link Here
375
    static char line[WORDBUF], *beglp, *endlp;
375
    static char line[WORDBUF], *beglp, *endlp;
376
    char *excline;
376
    char *excline;
377
377
378
    if (exc_fps[pos] == NULL)
378
    if (exc_fps[pos-1] == NULL)
379
	return(NULL);
379
	return(NULL);
380
380
381
    /* first time through load line from exception file */
381
    /* first time through load line from exception file */
382
    if(word != NULL){
382
    if(word != NULL){
383
        if (strlen(word) > WORDBUF - 1)
383
        if (strlen(word) > WORDBUF - 1)
384
           return(NULL);
384
           return(NULL);
385
	if ((excline = bin_search(word, exc_fps[pos])) != NULL) {
385
	if ((excline = bin_search(word, exc_fps[pos-1])) != NULL) {
386
	    strcpy(line, excline);
386
	    strcpy(line, excline);
387
	    endlp = strchr(line,' ');
387
	    endlp = strchr(line,' ');
388
	} else
388
	} else

Return to bug 314799