Module Name: src Committed By: rillig Date: Fri Jan 20 23:06:26 UTC 2023
Modified Files: src/usr.bin/xlint/xlint: xlint.c Log Message: lint: keep output from cpp if cpp fails Previously, lint only kept the cpp output if lint1 failed. Due to subtle differences in the preprocessing, there can be cases where the preprocessor already fails, for example when it takes a different '#ifdef' branch and therefore tries to include nonexistent files. In such a case, preserving the output of the preprocessor is helpful to compare it with the regular output of cpp, so keep it. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/usr.bin/xlint/xlint/xlint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.