summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed T. Crigler <crigler@users.sourceforge.net>2004-07-01 23:31:39 +0000
committerNed T. Crigler <crigler@users.sourceforge.net>2004-07-01 23:31:39 +0000
commit945e54166a89bc008d90a70fcc41e44f14dd8838 (patch)
tree5c66febddcae896161bce1e6d286988de4a61de0
parentc869233b9736c786dc1e02f846c7972b862ea6f5 (diff)
Add an extra signal call to the win_change function to make sure the SIGWINCH
handler isn't reset on certain systems.
-rw-r--r--attach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/attach.c b/attach.c
index 5fe18a2..bdb94b7 100644
--- a/attach.c
+++ b/attach.c
@@ -84,6 +84,7 @@ die(int sig)
static RETSIGTYPE
win_change()
{
+ signal(SIGWINCH, win_change);
win_changed = 1;
}