summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-04-19 20:34:57 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-04-19 20:34:57 +0000
commit5f8089449652b88b9974ed71ecf453be1bef6f2d (patch)
tree3619ae39838a332314ef3ea768f2e4a92591ddff /regress/usr.bin
parentaa19cbfbddcbef5adc6b60367628f8da363d0b02 (diff)
More than one data field may follow T} on the same input line.
Issue found by Christian Neukirchen <chneukirchen at gmail dot com> in the socket(2) manual on Linux. Also fixes major rendering bugs (including partial loss of content) in XkbChangeControls(3), XkbFreeClientMap(3), XkbGetMap(3), XkbKeyNumGroups(3), and XkbSetMap(3).
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/tbl/data/block_unclosed.in5
-rw-r--r--regress/usr.bin/mandoc/tbl/data/block_unclosed.out_ascii1
2 files changed, 6 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/tbl/data/block_unclosed.in b/regress/usr.bin/mandoc/tbl/data/block_unclosed.in
index c7c97286c47..5e3526c4d7a 100644
--- a/regress/usr.bin/mandoc/tbl/data/block_unclosed.in
+++ b/regress/usr.bin/mandoc/tbl/data/block_unclosed.in
@@ -9,6 +9,11 @@ lll.
begin:T{
middle
T}:end
+T{
+begin
+T}:middle:T{
+end
+T}
incomplete:T{
block
.TE
diff --git a/regress/usr.bin/mandoc/tbl/data/block_unclosed.out_ascii b/regress/usr.bin/mandoc/tbl/data/block_unclosed.out_ascii
index d69d972f7cd..bf0338ce982 100644
--- a/regress/usr.bin/mandoc/tbl/data/block_unclosed.out_ascii
+++ b/regress/usr.bin/mandoc/tbl/data/block_unclosed.out_ascii
@@ -10,6 +10,7 @@ DDEESSCCRRIIPPTTIIOONN
+--------------------------+
|begin middle end |
+ |begin middle end |
|incomplete block |
+--------------------------+
normal text