diff options
author | pfg <pfg@FreeBSD.org> | 2012-07-06 16:43:56 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2012-07-06 16:43:56 +0000 |
commit | 14199a8fd5efcdf5ce7f371c2e51e9ec66c55c84 (patch) | |
tree | b618c2c0cafd1cf1bf31a47865616e1462e4e530 /lib/libedit/el.h | |
parent | dd5db9f53d0baca67fc336d16a2f1f6cd5756f77 (diff) | |
download | FreeBSD-src-14199a8fd5efcdf5ce7f371c2e51e9ec66c55c84.zip FreeBSD-src-14199a8fd5efcdf5ce7f371c2e51e9ec66c55c84.tar.gz |
Fix issue resizing bin/sh
This partially reverts some changes from r237448 that are causing
breakage when resizing under bin/sh .
Reverted changes from NetBSD are:
Mar 10 20:46:15 2009 - editline.3 read.c
make el_gets set the count to -1 on error to distinguish between EOF and
error.
Feb 19 15:20:22 2009 - read.c sig.c sig.h
reset and redraw on sigcont. From Anon Ymous.
Feb 15 21:24:13 2009
don't restart on EINTR, instead return NULL immediately. From Anon Ymous
PR: 169603
Reported by: Peter Jeremy, David Shao
MFC after: 3 days
Diffstat (limited to 'lib/libedit/el.h')
-rw-r--r-- | lib/libedit/el.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libedit/el.h b/lib/libedit/el.h index 67d01ff..8d0d152 100644 --- a/lib/libedit/el.h +++ b/lib/libedit/el.h @@ -115,7 +115,6 @@ struct editline { FILE *el_errfile; /* Stdio stuff */ int el_infd; /* Input file descriptor */ int el_flags; /* Various flags. */ - int el_errno; /* Local copy of errno */ coord_t el_cursor; /* Cursor location */ char **el_display; /* Real screen image = what is there */ char **el_vdisplay; /* Virtual screen image = what we see */ |