diff options
author | hoek <hoek@FreeBSD.org> | 1998-08-03 03:11:09 +0000 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 1998-08-03 03:11:09 +0000 |
commit | a70d246f15a7bcad71e59d97539e22a2047a9df9 (patch) | |
tree | 1d9c56536ec225cde82cdad572f3d277e8f4803f /usr.bin/more | |
parent | 86f0f2b26f1fccb96ef47d8dfe99bff26e6b8174 (diff) | |
download | FreeBSD-src-a70d246f15a7bcad71e59d97539e22a2047a9df9.zip FreeBSD-src-a70d246f15a7bcad71e59d97539e22a2047a9df9.tar.gz |
Ignore (effectively) SIGTSTP if we're already in the process of tstoping.
Diffstat (limited to 'usr.bin/more')
-rw-r--r-- | usr.bin/more/signal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/more/signal.c b/usr.bin/more/signal.c index aa9d47f..b046d52 100644 --- a/usr.bin/more/signal.c +++ b/usr.bin/more/signal.c @@ -211,6 +211,7 @@ psignals() * Reset the terminal and arrange to repaint the * screen when we get back to the main command loop. */ + if (sigs & S_STOP) sigs &= ~(S_STOP); (void)signal(SIGTSTP, stop); raw_mode(1); init(); |