--- - branch: MAIN date: Fri Jan 20 23:06:26 UTC 2023 files: - new: '1.105' old: '1.104' path: src/usr.bin/xlint/xlint/xlint.c pathrev: src/usr.bin/xlint/xlint/xlint.c@1.105 type: modified id: 20230120T230626Z.127112e82d61bfb1faae2f9894843c649700239f log: | 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. module: src subject: 'CVS commit: src/usr.bin/xlint/xlint' unixtime: '1674255986' user: rillig