Fix bug #12327 with SIGCHLD handling on Windows and some other systems.

src/process.c (CAN_HANDLE_MULTIPLE_CHILDREN): Fix a typo that broke
 SIGCHLD handling on systems that don't have WNOHANG.
This commit is contained in:
Eli Zaretskii 2012-09-06 19:42:48 +03:00
parent d458ef98df
commit 0216c1289b
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-09-06 Eli Zaretskii <eliz@gnu.org>
* process.c (CAN_HANDLE_MULTIPLE_CHILDREN): Fix a typo that broke
SIGCHLD handling on systems that don't have WNOHANG. (Bug#12327)
2012-09-06 Dmitry Antipov <dmantipov@yandex.ru>
Explicitly mark buffer_defaults and buffer_local_symbols.

View file

@ -6518,9 +6518,9 @@ record_child_status_change (void)
#if (defined WINDOWSNT \
|| (defined USG && !defined GNU_LINUX \
&& !(defined HPUX && defined WNOHANG)))
enum { CAN_HANDLE_MULTIPLE_CHILDREN = 1 };
#else
enum { CAN_HANDLE_MULTIPLE_CHILDREN = 0 };
#else
enum { CAN_HANDLE_MULTIPLE_CHILDREN = 1 };
#endif
static void