summaryrefslogtreecommitdiff
path: root/output.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-22Add VMS port updates from Hartmut Becker.Paul Smith1-2/+5
2013-09-21Invert the #define for output-sync: turn it off with NO_OUTPUT_SYNCPaul Smith1-6/+10
2013-09-21Don't write "Entering" every time we re-exec for remake makefiles.Paul Smith1-4/+3
2013-09-16Avoid compiler warnings in output.c on MS-Windows.Eli Zaretskii1-0/+5
output.c [WINDOWS32]: Include windows.h and sub_proc.h, to avoid compiler warnings for CLOSE_ON_EXEC.
2013-09-14[SV 35248] Add --debug "n" flag to turn off current debug options.Paul Smith1-1/+1
2013-09-14[SV 33134] Don't try to close stdout when it's already closed.Paul Smith1-2/+54
2013-09-14Support the -Orecurse option properly.Paul Smith1-84/+178
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.
2013-09-12Enhance the output sync mode.Paul Smith1-0/+601
Create a new file, output.c, and collect functions that generate output there. We introduce a new global context specifying where output should go (to stdout or to a sync file), and the lowest level output generator chooses where to write output based on that context. This allows us to set the context globally, and all operations that write output (including functions like $(info ...) etc.) will use it. Removed the "--trace=dir" capability. It was too confusing. If you have directory tracking enabled then output sync will print the enter/leave message for each synchronized block. If you don't want that, disable directory tracking.