summaryrefslogtreecommitdiffstats
path: root/lib/libedit/el.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-07-06 16:43:56 +0000
committerpfg <pfg@FreeBSD.org>2012-07-06 16:43:56 +0000
commit14199a8fd5efcdf5ce7f371c2e51e9ec66c55c84 (patch)
treeb618c2c0cafd1cf1bf31a47865616e1462e4e530 /lib/libedit/el.h
parentdd5db9f53d0baca67fc336d16a2f1f6cd5756f77 (diff)
downloadFreeBSD-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.h1
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 */
OpenPOWER on IntegriCloud