Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   rillig
Date:           Sat Jan 10 19:50:40 UTC 2026

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_205.c
        src/usr.bin/xlint/lint1: err.c func.c

Log Message:
lint: fix crash on switch statement with non-integer expression

Seen during experiments with strict <ctype.h> functions that return a
struct instead of an int if the argument has neither type 'unsigned
char' nor 'int'.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_205.c
cvs rdiff -u -r1.277 -r1.278 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.196 -r1.197 src/usr.bin/xlint/lint1/func.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index