View | Details | Raw Unified | Return to bug 251275
Collapse All | Expand All

(-)src/cmd/ksh93/edit/pcomplete.c (-2 / +1 lines)
Lines 338-345 Link Here
338
    }
338
    }
339
    if (complete) {
339
    if (complete) {
340
        // Reserved space on stack and try again.
340
        // Reserved space on stack and try again.
341
        len = 3;
341
        tlen += (c + 1) * sizeof(char *) + (plen + slen + 1) * c;
342
        tlen = (c + 1) * sizeof(char *) + len * c + 1024;
343
        stkseek(shp->stk, tlen);
342
        stkseek(shp->stk, tlen);
344
        complete = 2;
343
        complete = 2;
345
        av = (char **)stkptr(shp->stk, 0);
344
        av = (char **)stkptr(shp->stk, 0);

Return to bug 251275