--- - branch: MAIN date: Sun Mar 14 01:34:13 UTC 2021 files: - new: '1.2' old: '1.1' path: src/tests/usr.bin/indent/comments.0 pathrev: src/tests/usr.bin/indent/comments.0@1.2 type: modified - new: '1.2' old: '1.1' path: src/tests/usr.bin/indent/comments.0.stdout pathrev: src/tests/usr.bin/indent/comments.0.stdout@1.2 type: modified - new: '1.2' old: '1.1' path: src/tests/usr.bin/indent/opt-bap+sob.0.stdout pathrev: src/tests/usr.bin/indent/opt-bap+sob.0.stdout@1.2 type: modified - new: '1.2' old: '1.1' path: src/tests/usr.bin/indent/token-keyword_do_else.0.stdout pathrev: src/tests/usr.bin/indent/token-keyword_do_else.0.stdout@1.2 type: modified - new: '1.3' old: '1.2' path: src/tests/usr.bin/indent/opt-P.0.stdout pathrev: src/tests/usr.bin/indent/opt-P.0.stdout@1.3 type: modified - new: '1.3' old: '1.2' path: src/tests/usr.bin/indent/token-comment.0.stdout pathrev: src/tests/usr.bin/indent/token-comment.0.stdout@1.3 type: modified - new: '1.32' old: '1.31' path: src/usr.bin/indent/pr_comment.c pathrev: src/usr.bin/indent/pr_comment.c@1.32 type: modified id: 20210314T013413Z.0be24c1f5b92a03037aa5047bb59a62239de0f5c log: | indent: fix off-by-one error in comment wrapping The manual page says that the default maximum length of a comment line is 78. The test 'comments.0' wrongly assumed that this 78 would refer to the maximum _column_ allowed, which is off by one. Fix the wording in the test 'comments.0' and remove the (now satisfied) expectation comments in the test 'token-comment.0'. Several other tests just happened to hit that limit, fix these as well. module: src subject: 'CVS commit: src' unixtime: '1615685653' user: rillig