For .RS, we need to save the information how much we actually indented
authorschwarze <schwarze@openbsd.org>
Wed, 24 Dec 2014 18:03:34 +0000 (18:03 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 24 Dec 2014 18:03:34 +0000 (18:03 +0000)
commit0e724740c554c8a1ed447d706e9e8adfe543c94c
treefa271d83e78255bb0b110ce6afe7433b7145c051
parentf2c51b35ab97b65737c2eb1581b62ac6373aae7b
For .RS, we need to save the information how much we actually indented
because negative indents can get truncated, in which case we no longer
know how to restore the original indent at the end of the block.
This also solves another case of effectively infinite output found
by jsg@ with afl, triggered by very large negative indents.
regress/usr.bin/mandoc/man/RS/width.in
regress/usr.bin/mandoc/man/RS/width.out_ascii
usr.bin/mandoc/man.h
usr.bin/mandoc/man_term.c