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:           Mon Aug 23 06:10:27 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_141.c msg_141.exp
        src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: fix wrong warning about signed integer overflow in '-'

The newly added test cases in line 30 and 33 may or may not be worth a
warning since the expressions deal with unsigned integers, where the
behavior on overflow is well defined.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_141.c \
    src/tests/usr.bin/xlint/lint1/msg_141.exp
cvs rdiff -u -r1.346 -r1.347 src/usr.bin/xlint/lint1/tree.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