tc.sig.c (tcsh-6.22.02) | : | tc.sig.c (tcsh-6.22.03) | ||
---|---|---|---|---|
skipping to change at line 59 | skipping to change at line 59 | |||
} | } | |||
static volatile sig_atomic_t alrmcatch_pending; /* = 0; */ | static volatile sig_atomic_t alrmcatch_pending; /* = 0; */ | |||
static volatile sig_atomic_t pchild_pending; /* = 0; */ | static volatile sig_atomic_t pchild_pending; /* = 0; */ | |||
static volatile sig_atomic_t phup_pending; /* = 0; */ | static volatile sig_atomic_t phup_pending; /* = 0; */ | |||
static volatile sig_atomic_t pintr_pending; /* = 0; */ | static volatile sig_atomic_t pintr_pending; /* = 0; */ | |||
int alrmcatch_disabled; /* = 0; */ | int alrmcatch_disabled; /* = 0; */ | |||
int phup_disabled; /* = 0; */ | int phup_disabled; /* = 0; */ | |||
int pchild_disabled; /* = 0; */ | int pchild_disabled; /* = 0; */ | |||
int pintr_disabled; /* = 0; */ | int pintr_disabled; /* = 0; */ | |||
int handle_interrupt; /* = 0; */ | ||||
int | int | |||
handle_pending_signals(void) | handle_pending_signals(void) | |||
{ | { | |||
int rv = 0; | int rv = 0; | |||
if (!phup_disabled && phup_pending) { | if (!phup_disabled && phup_pending) { | |||
phup_pending = 0; | phup_pending = 0; | |||
handle_interrupt++; | handle_interrupt++; | |||
phup(); | phup(); | |||
handle_interrupt--; | handle_interrupt--; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |