tweaks: normalize the indentation after the previous change

master
Benno Schulenberg 2020-09-07 11:44:29 +02:00
parent 0f7a309adc
commit 9f20fadee1
1 changed files with 7 additions and 8 deletions

View File

@ -882,17 +882,16 @@ void signal_init(void)
sigaction(SIGWINCH, &deed, NULL); sigaction(SIGWINCH, &deed, NULL);
#endif #endif
/* Block all other signals in the suspend and continue handlers. /* In the suspend and continue handlers, block all other signals.
* If we don't do this, other stuff interrupts them! */ * If we don't do this, other stuff interrupts them! */
sigfillset(&deed.sa_mask); sigfillset(&deed.sa_mask);
#ifdef SIGTSTP #ifdef SIGTSTP
/* Trap a normal suspend (^Z) so we can handle it ourselves. */ deed.sa_handler = do_suspend;
deed.sa_handler = do_suspend; sigaction(SIGTSTP, &deed, NULL);
sigaction(SIGTSTP, &deed, NULL);
#endif #endif
#ifdef SIGCONT #ifdef SIGCONT
deed.sa_handler = do_continue; deed.sa_handler = do_continue;
sigaction(SIGCONT, &deed, NULL); sigaction(SIGCONT, &deed, NULL);
#endif #endif
#if !defined(NANO_TINY) && !defined(DEBUG) #if !defined(NANO_TINY) && !defined(DEBUG)