diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-05-04 10:41:11 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-05-04 10:41:11 +0300 |
commit | 01bad6f73a55cf5075c6e48543a63a6094135a7d (patch) | |
tree | 156193395ce165912fdc7f6d2c57c65097983a61 /job.c | |
parent | 82793f85f5fbf1831dcb6a6595ca57c2242e4576 (diff) | |
download | gunmake-01bad6f73a55cf5075c6e48543a63a6094135a7d.tar.gz |
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 <f.heckenbach@fh-soft.de>.
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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)) { |