diff options
author | obrien <obrien@FreeBSD.org> | 2002-01-24 13:54:19 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-01-24 13:54:19 +0000 |
commit | 6dc8ab99b20a02d64773ff9ca6bd10092ee80bae (patch) | |
tree | 1e04e2ddd25ad2d6ad573ade1645466b07af116b /lib/libedit | |
parent | 0a9534cc78be809be8b1ef5904cc3392cd52892a (diff) | |
download | FreeBSD-src-6dc8ab99b20a02d64773ff9ca6bd10092ee80bae.zip FreeBSD-src-6dc8ab99b20a02d64773ff9ca6bd10092ee80bae.tar.gz |
Fix problem where with PicoBSD the shell coredumps if it does not find an
entry for its terminal type in /etc/termcap.
Submitted by: bde
Diffstat (limited to 'lib/libedit')
-rw-r--r-- | lib/libedit/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 83813a5..03cd4c4 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -338,9 +338,9 @@ term_init(EditLine *el) return (-1); (void) memset(el->el_term.t_val, 0, T_val * sizeof(int)); term_outfile = el->el_outfile; + term_init_arrow(el); if (term_set(el, NULL) == -1) return (-1); - term_init_arrow(el); return (0); } /* term_end(): |