diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-30 01:43:09 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-10-30 01:43:09 +0000 |
| commit | 434ded340d7c26d174c861ae024af7591b92c9b6 (patch) | |
| tree | 833ea2c68518a9283a5de1e1056a9f8917e97997 | |
| parent | 339b10f15d40cf8f33423d6a928fa49689f67545 (diff) | |
Notes
| -rw-r--r-- | usr.bin/window/wwend.c | 2 | ||||
| -rw-r--r-- | usr.bin/window/wwinit.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/window/wwend.c b/usr.bin/window/wwend.c index 9586f14b7333..b984d2d20c30 100644 --- a/usr.bin/window/wwend.c +++ b/usr.bin/window/wwend.c @@ -38,6 +38,7 @@ static char sccsid[] = "@(#)wwend.c 8.1 (Berkeley) 6/6/93"; #endif /* not lint */ +#include <signal.h> #include "ww.h" #include "tt.h" @@ -49,6 +50,7 @@ wwend(exit) wwdocheckpoint = 0; } xxend(); + (void) signal(SIGIO, SIG_DFL); (void) wwsettty(0, &wwoldtty); #ifdef TERMINFO if (exit) diff --git a/usr.bin/window/wwinit.c b/usr.bin/window/wwinit.c index 596f1a2252ed..4e4d5dad1239 100644 --- a/usr.bin/window/wwinit.c +++ b/usr.bin/window/wwinit.c @@ -322,8 +322,8 @@ bad: * Don't bother to free storage. We're supposed * to exit when wwinit fails anyway. */ - (void) wwsettty(0, &wwoldtty); (void) signal(SIGIO, SIG_DFL); + (void) wwsettty(0, &wwoldtty); (void) sigsetmask(s); return -1; } |
