aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl/mod/expand.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-10-25 18:28:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-10-25 18:28:23 +0000
commit15feebaabfcad331c67405bbe09197c6c1503bce (patch)
treee3d8187d892720eebbf4458de08e9ea14a55fa3f /regress/tbl/mod/expand.out_ascii
parentdc7248813739f10e087a87325e7aca75a5630c16 (diff)
downloadmandoc-15feebaabfcad331c67405bbe09197c6c1503bce.tar.gz
mandoc-15feebaabfcad331c67405bbe09197c6c1503bce.tar.zst
mandoc-15feebaabfcad331c67405bbe09197c6c1503bce.zip
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.54 (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.54 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 'regress/tbl/mod/expand.out_ascii')
-rw-r--r--regress/tbl/mod/expand.out_ascii2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/tbl/mod/expand.out_ascii b/regress/tbl/mod/expand.out_ascii
index 41bf9869..6feeee25 100644
--- a/regress/tbl/mod/expand.out_ascii
+++ b/regress/tbl/mod/expand.out_ascii
@@ -97,7 +97,7 @@ DDEESSCCRRIIPPTTIIOONN
x x x x x 123456789012345678901234567890123456789012 x
leaked tab settings:
- a b c d e f g h
+ a b c d e f g h