]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Fix the MS-Windows branch of output_sync code.
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 May 2013 07:41:11 +0000 (10:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 May 2013 07:41:11 +0000 (10:41 +0300)
 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 <f.heckenbach@fh-soft.de>.

ChangeLog
job.c

index 80035cf37e712c6644e8c50431c6a1421a662a4f..9b347f69e2c71db87d9e9ab436c69d38023fb0ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * 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 <f.heckenbach@fh-soft.de>.
+
 2013-05-03  Eli Zaretskii  <eliz@gnu.org>
 
        * w32/subproc/sub_proc.c: Include makeint.h.  Remove a private
diff --git a/job.c b/job.c
index b245007a05aca1191d257f9fffe59dc24794a601..9a67ec419f9224b3e68fde56aff6980d107cb544 100644 (file)
--- 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))
                {