Module Name: src Committed By: rillig Date: Fri Nov 19 17:11:46 UTC 2021
Modified Files: src/usr.bin/indent: indent.c indent.h lexi.c pr_comment.c Log Message: indent: replace direct access to the input buffer This is a preparation for abstracting away all the low-level details of handling the input. The goal is to fix the current bugs regarding line number counting, out of bounds memory access, and generally unreadable code. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.221 -r1.222 src/usr.bin/indent/indent.c cvs rdiff -u -r1.88 -r1.89 src/usr.bin/indent/indent.h cvs rdiff -u -r1.140 -r1.141 src/usr.bin/indent/lexi.c cvs rdiff -u -r1.118 -r1.119 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.