diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-10-25 18:21:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2020-10-25 18:21:08 +0000 |
commit | 3b935da7232977f452354ac7396b1428aa3e761e (patch) | |
tree | 07d7f3cd58e8a00a11b5df054661355d2604ce1b /lib | |
parent | 7e376becfbb9ce80c05033b4b1bb70c9d717b8d7 (diff) |
The GNU tbl(1) program contained in the groff package internally
uses roff(7) tabulator settings to implement tables, and it used
to leak the changed tabulator settings from tables to the subsequent
roff(7) code. In mandoc/tbl_term.c rev. 1.42 (June 17, 2017), code
was added to be bug-compatible with groff.
In commit d0e03cf6 (Oct 20, 2020), GNU tbl(1) changed behaviour
to save the tabulator settings before starting a table and restore
them afterwards. Adjust mandoc for compatibility.
Since mandoc implements tables without using roff(7) tabulator
settings, saving and restoring tabulator settings is not needed in
mandoc. Simply deleting the code that changed tabulator settings
by reverting tbl_term.c rev. 1.42 is sufficient in mandoc.
Also adjust the desired output of the regression tests
to match the new behaviour of both groff and mandoc.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions