From: Eli Zaretskii Date: Sat, 4 May 2013 07:41:11 +0000 (+0300) Subject: Fix the MS-Windows branch of output_sync code. X-Git-Tag: 3.99.90~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01bad6f73a55cf5075c6e48543a63a6094135a7d;p=thirdparty%2Fmake.git Fix the MS-Windows branch of output_sync code. job.c (start_job_command): Make the condition for creating a temporary output file be identical to the Posix code branch. Suggested by Frank Heckenbach . --- diff --git a/ChangeLog b/ChangeLog index 80035cf3..9b347f69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-05-04 Eli Zaretskii + + * job.c (start_job_command): Make the condition for creating a + temporary output file be identical to the Posix code branch. + Suggested by Frank Heckenbach . + 2013-05-03 Eli Zaretskii * w32/subproc/sub_proc.c: Include makeint.h. Remove a private diff --git a/job.c b/job.c index b245007a..9a67ec41 100644 --- a/job.c +++ b/job.c @@ -1834,8 +1834,7 @@ start_job_command (struct child *child) child's stdout, and another one for its stderr, if they are separate. */ if (output_sync == OUTPUT_SYNC_MAKE - || (output_sync == OUTPUT_SYNC_TARGET - && !(flags & COMMANDS_RECURSE))) + || (output_sync && !(flags & COMMANDS_RECURSE))) { if (!assign_child_tempfiles (child, combined_output)) {