summaryrefslogtreecommitdiffstats
path: root/lib/libedit/sig.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/sig.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/sig.h')
-rw-r--r--lib/libedit/sig.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libedit/sig.h b/lib/libedit/sig.h
index 6c1260d..8773ddc 100644
--- a/lib/libedit/sig.h
+++ b/lib/libedit/sig.h
@@ -30,7 +30,7 @@
* SUCH DAMAGE.
*
* @(#)sig.h 8.1 (Berkeley) 6/4/93
- * $NetBSD: sig.h,v 1.5 2003/08/07 16:44:33 agc Exp $
+ * $NetBSD: sig.h,v 1.7 2009/02/15 21:25:01 christos Exp $
* $FreeBSD$
*/
@@ -61,7 +61,6 @@
typedef struct {
struct sigaction sig_action[ALLSIGSNO];
sigset_t sig_set;
- volatile sig_atomic_t sig_no;
} *el_signal_t;
protected void sig_end(EditLine*);
OpenPOWER on IntegriCloud