tweaks: normalize the indentation after the previous change
parent
0f7a309adc
commit
9f20fadee1
15
src/nano.c
15
src/nano.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue