Up to [cvsweb.bsd.lv] / mandoc / regress / roff / esc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 26 18:08:50 2025 UTC (2 weeks, 2 days ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
adjust the tests after changing the page footer
Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 27 13:41:16 2022 UTC (3 years, 2 months ago) by schwarze
Branch: MAIN
Fix three bugs regarding the interaction of \z and \h: 1. The combination \z\h is a no-op whatever the argument may be. In the past, the \z only affected the first space character generated by the \h, which was wrong. 2. For the conbination \zX\h with a positive argument, the first space resulting from the \h is not printed but consumed by the \z. 3. For the combination \zX\h with a negative argument, application of the \z needs to be completed before the \h can be started. In the past, if this combination occurred at the beginning of an output line, the \h backed up to the beginning of the line and after that, the \z attempted to back up even further, triggering an assertion. Bugs found during an audit of assignments to termp->col that i started after the bugfix tbl_term.c rev. 1.65. The assertion triggered by bug 3 was *not* yet found by afl(1).