* subshell.c (synchronize): Workaround for Cygwin (should not be
needed for the next version) - remove SIGCHLD blocking from old_mask.
Этот коммит содержится в:
родитель
728f254cd6
Коммит
d1e02fba0f
@ -1,5 +1,9 @@
|
||||
2002-08-19 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* subshell.c (synchronize): Workaround for Cygwin (should not be
|
||||
needed for the next version) - remove SIGCHLD blocking from
|
||||
old_mask.
|
||||
|
||||
* dlg.h: Remove all unused flags for create_dlg(). Adjust all
|
||||
dependencies.
|
||||
|
||||
|
@ -1039,6 +1039,12 @@ static void synchronize (void)
|
||||
sigaddset (&sigchld_mask, SIGCHLD);
|
||||
sigprocmask (SIG_BLOCK, &sigchld_mask, &old_mask);
|
||||
|
||||
/*
|
||||
* SIGCHLD should not be blocked, but we unblock it just in case.
|
||||
* This is known to be useful for cygwin 1.3.12 and older.
|
||||
*/
|
||||
sigdelset (&old_mask, SIGCHLD);
|
||||
|
||||
/* Wait until the subshell has stopped */
|
||||
while (subshell_alive && !subshell_stopped)
|
||||
sigsuspend (&old_mask);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user