aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-29 00:17:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-29 00:17:43 +0000
commitada69bce757bdb8fff8d778e0660446c440c7613 (patch)
treec855535ac67e0f62353307e69e90b8952d8ecad3 /cgi.c
parent3e8d538cdcbed1408b260186b980e5fa4eeb81af (diff)
downloadmandoc-ada69bce757bdb8fff8d778e0660446c440c7613.tar.gz
mandoc-ada69bce757bdb8fff8d778e0660446c440c7613.tar.zst
mandoc-ada69bce757bdb8fff8d778e0660446c440c7613.zip
In terminal output, unify handling of Unicode and numbered character
escape sequences just like it was earlier implemented for -Thtml. Do not let control characters other than ASCII 9 (horizontal tab) propagate to the output, even though groff allows them; but that really doesn't look like a great idea. Let mchars_num2char() return int such that we can distinguish invalid \N syntax from \N'0'. This also reduces the danger of signed char issues popping up.
Diffstat (limited to 'cgi.c')
0 files changed, 0 insertions, 0 deletions