job.c (start_job_command) [WINDOWS32]: Make the same fix for

MS-Windows as the previous commit did for Posix platforms.
This commit is contained in:
Eli Zaretskii 2013-05-01 18:15:16 +03:00
parent 9acb657eb1
commit a87ff20158
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-05-01 Eli Zaretskii <eliz@gnu.org>
* job.c (start_job_command) [WINDOWS32]: Make the same fix for
MS-Windows as the previous commit did for Posix platforms.
2013-05-01 Paul Smith <psmith@gnu.org>
* job.c (start_job_command): Don't redirect output for recursive

6
job.c
View File

@ -1857,8 +1857,10 @@ start_job_command (struct child *child)
sync_Path_environment();
#ifdef OUTPUT_SYNC
/* Divert child output into tempfile(s) if output_sync in use. */
if (output_sync)
/* Divert child output if output_sync in use. Don't capture
recursive make output unless we are synchronizing "make" mode. */
if (output_sync && (output_sync == OUTPUT_SYNC_MAKE
|| !(flags & COMMANDS_RECURSE)))
hPID = process_easy(argv, child->environment,
child->outfd, child->errfd);
else