Module Name: src Committed By: rillig Date: Sat Dec 12 10:21:50 UTC 2020
Modified Files: src/usr.bin/make: job.c job.h trace.c src/usr.bin/make/unit-tests: opt-debug-jobs.exp Log Message: make(1): move Job.xtraced to ShellWriter This flag was placed wrong in the Job since it is only necessary as long as the shell commands are written to the shell file. Resetting it in JobStart and JobExec was completely misguided since that is far away from writing the shell commands; this should have been done in JobPrintCommands instead. The status of this flag doesn't need to be printed in debugging mode since it is controlled by a single command line option (-dx) and does not interact with all the other switches. To generate a diff of this commit: cvs rdiff -u -r1.373 -r1.374 src/usr.bin/make/job.c cvs rdiff -u -r1.68 -r1.69 src/usr.bin/make/job.h cvs rdiff -u -r1.23 -r1.24 src/usr.bin/make/trace.c cvs rdiff -u -r1.9 -r1.10 src/usr.bin/make/unit-tests/opt-debug-jobs.exp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.