From cde2edb5e08d7bb2a9d25433399cda087330de7f Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 18 Jan 2018 23:38:41 +0000 Subject: [PATCH] task.c: use better code for checking abnormally-terminating child process MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use the code that says “Bruno would prefer this”. Assume any compatibility problems are or can now be solved. --- src/task.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/task.c b/src/task.c index 75e5ee7..0e9b7ee 100644 --- a/src/task.c +++ b/src/task.c @@ -611,13 +611,9 @@ perform_pipe_sequence (RECODE_TASK task) { /* Diagnose and abort on any abnormally terminating child. */ -#if 0 /* FIXME: Bruno would prefer this. */ if (!(WIFEXITED (wait_status) || (WIFSIGNALED (wait_status) && WTERMSIG (wait_status) == SIGPIPE))) -#endif - if ((wait_status & BIT_MASK (8)) != 0 - && (wait_status & BIT_MASK (8)) != SIGPIPE) { recode_error (outer, _("Child process wait status is 0x%0.2x"), wait_status); -- 2.40.0