Module Name: src Committed By: rillig Date: Sat Aug 8 13:00:07 UTC 2020
Modified Files: src/usr.bin/make: nonints.h var.c src/usr.bin/make/unit-tests: export-variants.mk export.mk lint.mk unexport.mk Log Message: make(1): clean up Var_UnExport Mark the parameter as constant since it is not modified. Remove tests for '\n' since these can never succeed. newenv can never be NULL since neither of bmake_malloc or bmake_realloc returns NULL. Improve variable names: vlist was too unexpressive. Add debug logging since unexporting variables is an uncommon operation that directly affects the observable environment of the child processes. Fix CRLF line endings in a few unit tests. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/usr.bin/make/nonints.h cvs rdiff -u -r1.422 -r1.423 src/usr.bin/make/var.c cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/export-variants.mk \ src/usr.bin/make/unit-tests/lint.mk cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/export.mk cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/unexport.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.