--- - branch: MAIN date: Sun Jan 3 18:48:37 UTC 2021 files: - new: '1.55' old: '1.54' path: src/usr.bin/xlint/lint1/Makefile pathrev: src/usr.bin/xlint/lint1/Makefile@1.55 type: modified - new: '1.1' old: '0' path: src/usr.bin/xlint/lint1/Makefile.err-msgs-h pathrev: src/usr.bin/xlint/lint1/Makefile.err-msgs-h@1.1 type: added - new: '1.107' old: '1.106' path: src/usr.bin/xlint/lint1/decl.c pathrev: src/usr.bin/xlint/lint1/decl.c@1.107 type: modified - new: '1.64' old: '1.63' path: src/usr.bin/xlint/lint1/err.c pathrev: src/usr.bin/xlint/lint1/err.c@1.64 type: modified - new: '1.49' old: '1.48' path: src/usr.bin/xlint/lint1/lint1.h pathrev: src/usr.bin/xlint/lint1/lint1.h@1.49 type: modified id: 20210103T184837Z.f689b3c6140aaef406d1992799d47e53816679bb log: | lint: in DEBUG mode, verify printf parameters for messages Since several years GCC validates printf-style strings, and there is no reason not to let GCC do that work. This prevents bugs like the segmentation fault that was fixed in tree.c 1.109 from 2021-01-01. By default, lint is compiled with DEBUG off, but it's easy enough to compile it in debug mode once in a while. module: src subject: 'CVS commit: src/usr.bin/xlint/lint1' unixtime: '1609699717' user: rillig