Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 5.3.1 crashes on completion



On May 16, 12:05pm, Peter Stephenson wrote:
}
}      cmdsp = hs->csp;
} +    unlinkcurline();
} +    curline_linked = hs->curline_linked;
} +    if (curline_linked)
} +	linkcurline();
}  }

Shouldn't that be

    unlinkcurline();
    if (hs->curline_linked)
        linkcurline();

??  unlinkcurline() will set curline_linked = 0 and linkcurline() will
set it back to 1 again?  Don't set curline_linked before linking it?

} +    DPUTS(chline != NULL, "chline set at start of history");

Actual error is that chline NOT set at start?

Otherwise looks OK to me.



Messages sorted by: Reverse Date, Date, Thread, Author