* globals.cc (exit_states): Renumber so that ES_EXIT_STARTING is first, as

intended.
* sigproc.cc (wait_sig): Only stop accepting signals after exit_state >
ES_EXIT_STARTING.
This commit is contained in:
Christopher Faylor
2013-01-04 02:21:03 +00:00
parent fba91299d7
commit 0fd830efdf
3 changed files with 9 additions and 2 deletions

View File

@ -1335,7 +1335,7 @@ wait_sig (VOID *)
}
/* Don't process signals when we start exiting */
if (exit_state && pack.si.si_signo > 0)
if (exit_state > ES_EXIT_STARTING && pack.si.si_signo > 0)
continue;
sigset_t dummy_mask;