From 1707aceca12b1e65a03b2f069ff36965f415d553 Mon Sep 17 00:00:00 2001 From: Tim Vanderhoek Date: Mon, 3 Aug 1998 03:11:09 +0000 Subject: [PATCH] Ignore (effectively) SIGTSTP if we're already in the process of tstoping. --- usr.bin/more/signal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/more/signal.c b/usr.bin/more/signal.c index aa9d47fb7f4b..b046d5231325 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();