SRCHLEN
static char srchpat[SRCHLEN]; /* last search pattern */
static char locpat[SRCHLEN];
if (srchlen == SRCHLEN - 1)