Module Name: src Committed By: rillig Date: Sat Mar 13 13:51:08 UTC 2021
Modified Files: src/usr.bin/indent: args.c indent.c indent_globs.h io.c pr_comment.c Log Message: indent: distinguish between 'column' and 'indentation' column == 1 + indentation. In addition, indentation is a relative distance while column is an absolute position. Therefore, don't confuse these two concepts, to prevent off-by-one errors. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/indent/args.c cvs rdiff -u -r1.56 -r1.57 src/usr.bin/indent/indent.c cvs rdiff -u -r1.19 -r1.20 src/usr.bin/indent/indent_globs.h cvs rdiff -u -r1.42 -r1.43 src/usr.bin/indent/io.c cvs rdiff -u -r1.28 -r1.29 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.