Module Name: src Committed By: rillig Date: Tue Jan 28 20:21:59 UTC 2025
Modified Files: src/tests/usr.bin/xlint/lint1: msg_341.c platform_ilp32_int.c platform_ilp32_long.c platform_lp64.c Log Message: tests/lint: fix platform-specific tests for <ctype.h> usage On arm (32-bit, ptrdiff_t is long), there was an extra warning that didn't show up on i386 or x86_64. After moving the test to the platform-specific tests, the i386 test shows an additional warning about integer overflow. This is because the platform-specific tests run with more lint warnings enabled than in msg_341.c. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_341.c cvs rdiff -u -r1.8 -r1.9 src/tests/usr.bin/xlint/lint1/platform_ilp32_int.c cvs rdiff -u -r1.9 -r1.10 src/tests/usr.bin/xlint/lint1/platform_ilp32_long.c cvs rdiff -u -r1.14 -r1.15 src/tests/usr.bin/xlint/lint1/platform_lp64.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.