Up to [local] / src / usr.bin / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_6
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 27 12:43:11 2009 UTC (14 years, 11 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)
sync to 1.7.20: (1) -width Ds is 6 spaces, not 8, see the manual. (2) When determining the offset, add two more spaces to the width. For -width Ds, these two bugs cancelled each other, but for -width [01-9]+n, they did not, leaving the offset to narrow. (3) When determining the width using strlen, we need to add two spaces instead of one, just like in the case (2).