Module Name: src Committed By: rillig Date: Thu Feb 1 21:19:13 UTC 2024
Modified Files: src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: lex.c tree.c Log Message: lint: reuse buffer editing code across lint1 Fix cat_strings to update the capacity of the buffer, to prevent quadratic runtime when concatenating string literals. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/xlint/common/externs.h cvs rdiff -u -r1.59 -r1.60 src/usr.bin/xlint/common/tyname.c cvs rdiff -u -r1.205 -r1.206 src/usr.bin/xlint/lint1/lex.c cvs rdiff -u -r1.600 -r1.601 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.