summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-07-06 18:46:51 +0000
committerschwarze <schwarze@openbsd.org>2014-07-06 18:46:51 +0000
commitce205d5fb71711c106cf8281cc5c6a444c55e8dd (patch)
tree58be50df2b6e1e3ead98f7d58f42ca83164b468b /usr.bin/mandoc/mdoc.c
parentFix handling of escape sequences taking numeric arguments. (diff)
downloadwireguard-openbsd-ce205d5fb71711c106cf8281cc5c6a444c55e8dd.tar.xz
wireguard-openbsd-ce205d5fb71711c106cf8281cc5c6a444c55e8dd.zip
Fix expansion of escape sequences with incomplete arguments.
* For \* and \n, discard the incomplete arg, expand to empty string. * For \B, discard the incomplete arg, expand to the digit 0. * For \w, use the incomplete arg (behaviour unchanged).
Diffstat (limited to 'usr.bin/mandoc/mdoc.c')
0 files changed, 0 insertions, 0 deletions