Module Name: src Committed By: rillig Date: Sun May 14 22:26:37 UTC 2023
Modified Files: src/tests/usr.bin/indent: lsym_comment.c src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: only null-terminate the buffers if necessary The only case where a buffer is used as a C-style string is when looking up a keyword. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/usr.bin/indent/lsym_comment.c cvs rdiff -u -r1.266 -r1.267 src/usr.bin/indent/indent.c cvs rdiff -u -r1.131 -r1.132 src/usr.bin/indent/indent.h cvs rdiff -u -r1.164 -r1.165 src/usr.bin/indent/io.c cvs rdiff -u -r1.183 -r1.184 src/usr.bin/indent/lexi.c cvs rdiff -u -r1.138 -r1.139 src/usr.bin/indent/pr_comment.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.