From c5bfa400448a14f4c8d4fc51dd56ea17176e1f84 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 14 Sep 2013 01:04:04 -0400 Subject: Support the -Orecurse option properly. In this mode we still collect all the output from a given target and dump it at once. However we don't treat recursive lines any differently from non-recursive lines. Also we don't print enter/leave messages after every dump. However we do ensure that we always print them once to stdout, so the parent make will collect it properly. --- job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'job.c') diff --git a/job.c b/job.c index 28c8e37..6480d8d 100644 --- a/job.c +++ b/job.c @@ -1738,7 +1738,7 @@ new_job (struct file *file) 'struct child', and add that to the chain. */ c = xcalloc (sizeof (struct child)); - output_init (&c->output, output_sync); + output_init (&c->output); c->file = file; c->sh_batch_file = NULL; @@ -2588,7 +2588,7 @@ construct_command_argv_internal (char *line, char **restp, char *shell, "date", "del", "dir", "echo", "echo.", "endlocal", "erase", "exit", "for", "ftype", "goto", "if", "if", "md", "mkdir", "move", - "path", "pause", "prompt", "rd", "rem", "ren", + "path", "pause", "prompt", "rd", "rem", "ren", "rename", "rmdir", "set", "setlocal", "shift", "time", "title", "type", "ver", "verify", "vol", ":", 0 }; -- cgit v1.2.3