Source-Changes archive

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

CVS commit: src/usr.bin/error



Module Name:    src
Committed By:   rillig
Date:           Sat Aug 26 15:18:27 UTC 2023

Modified Files:
        src/usr.bin/error: error.h input.c pi.c subr.c

Log Message:
error: clean up comparison of word vectors

The function wordvcmp returned -1 when either of the word vectors was
short; this made the function asymmetric. Since the function is only
used to compare two word vectors for equality, restrict it to this
particular use case.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/error/error.h \
    src/usr.bin/error/input.c
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/error/pi.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/error/subr.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