Module Name: src Committed By: rillig Date: Sat Jun 17 23:03:20 UTC 2023
Modified Files: src/usr.bin/indent: io.c lexi.c pr_comment.c Log Message: indent: clean up Extract duplicate code for handling line continuations. Prevent theoretic undefined behavior in strspn, as inp.s is not null-terminated. Remove adding extra space characters when processing comments, as these are not necessary to force a line of output. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.228 -r1.229 src/usr.bin/indent/io.c cvs rdiff -u -r1.231 -r1.232 src/usr.bin/indent/lexi.c cvs rdiff -u -r1.167 -r1.168 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.