Module Name: src Committed By: rillig Date: Thu Dec 10 20:49:11 UTC 2020
Modified Files: src/usr.bin/make: compat.c job.c job.h meta.c meta.h trace.c src/usr.bin/make/unit-tests: opt-debug-jobs.exp Log Message: make(1): split JobFlags into separate fields Having all these flags in a single bitmask makes it harder to see where exactly they can possibly be used since their state could also be modified using the unsuspicious job->flags = 0. Using individual names just leaves the single memset, and that is only used during initialization. To generate a diff of this commit: cvs rdiff -u -r1.204 -r1.205 src/usr.bin/make/compat.c cvs rdiff -u -r1.353 -r1.354 src/usr.bin/make/job.c cvs rdiff -u -r1.64 -r1.65 src/usr.bin/make/job.h cvs rdiff -u -r1.157 -r1.158 src/usr.bin/make/meta.c cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/meta.h cvs rdiff -u -r1.21 -r1.22 src/usr.bin/make/trace.c cvs rdiff -u -r1.8 -r1.9 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.