--- - branch: MAIN date: Sat Mar 13 00:03:30 UTC 2021 files: - new: '1.33' old: '1.32' path: src/usr.bin/indent/io.c pathrev: src/usr.bin/indent/io.c@1.33 type: modified id: 20210313T000330Z.8f854e31cd1be9574f6f99dda8ee47ca66a9fa75 log: | indent: clean up verbose documentation comments from the 1970s Since C90, there is no need to repeat the type of the function parameters. In the whole code of indent, there is a lot of confusion between the concepts of a 'column' (which is a position on the screen, counting starts at 1) and 'indentation' (which is a length, not a position). To avoid this confusion, the code will be rewritten anyway very soon. Repeatedly adding and subtracting 1 from the 'current column' is not elegant, this should rather be done by consistently measuring only the indentation from the left border (at offset 0), as a distance, not as an absolute position. module: src subject: 'CVS commit: src/usr.bin/indent' unixtime: '1615593810' user: rillig