--- - branch: MAIN date: Sat Mar 13 11:19:43 UTC 2021 files: - new: '1.20' old: '1.19' path: src/usr.bin/indent/args.c pathrev: src/usr.bin/indent/args.c@1.20 type: modified - new: '1.51' old: '1.50' path: src/usr.bin/indent/indent.c pathrev: src/usr.bin/indent/indent.c@1.51 type: modified - new: '1.18' old: '1.17' path: src/usr.bin/indent/indent_globs.h pathrev: src/usr.bin/indent/indent_globs.h@1.18 type: modified - new: '1.42' old: '1.41' path: src/usr.bin/indent/io.c pathrev: src/usr.bin/indent/io.c@1.42 type: modified - new: '1.26' old: '1.25' path: src/usr.bin/indent/pr_comment.c pathrev: src/usr.bin/indent/pr_comment.c@1.26 type: modified id: 20210313T111943Z.6e6467cd547b3c2ff723e82cbc115026a181c2c8 log: | indent: fix confusing variable names The word 'col' should only be used for the 1-based column number. This name is completely inappropriate for a line length since that provokes off-by-one errors. The name 'cols' would be acceptable although confusing since it sounds so similar to 'col'. Therefore, rename variables that are related to the maximum line length to 'line_length' since that makes for obvious code and nicely relates to the description of the option in the manual page. No functional change. module: src subject: 'CVS commit: src/usr.bin/indent' unixtime: '1615634383' user: rillig