From: Eli Zaretskii Date: Thu, 6 Sep 2012 16:42:48 +0000 (+0300) Subject: Fix bug #12327 with SIGCHLD handling on Windows and some other systems. X-Git-Tag: emacs-24.2.90~395 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0216c1289b6ff1aa692ab5e7e8fe3f56e760a278;p=emacs.git 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. --- diff --git a/src/ChangeLog b/src/ChangeLog index a017ef7fdab..479fb38e60b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-09-06 Eli Zaretskii + + * 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 Explicitly mark buffer_defaults and buffer_local_symbols. diff --git a/src/process.c b/src/process.c index 3a6615fb505..9ab8d2720b2 100644 --- a/src/process.c +++ b/src/process.c @@ -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