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:           Sun Jul 25 22:43:08 UTC 2021

Modified Files:
        src/tests/usr.bin/xlint/lint1: msg_342.c msg_342.exp
        src/usr.bin/xlint/lint1: ckctype.c

Log Message:
lint: split is_ctype_function into separate parts

This reduces the number of string comparisons for function names that
start with 'is' or 'to'.

The tests now cover function names that start with 'is' or 'to' but are
not one of the well-known functions from ctype.h.  This removes the '*'
in the output from gcov.

No functional change.


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