diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-10-27 13:29:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-10-27 13:29:31 +0000 |
commit | bb1efa070ab2c0137a2b6f2c392c85ff187e02ee (patch) | |
tree | 758637c6a1262ba8ce8be3c99541d20a4aceb23b /usr.sbin/bind/lib/isc | |
parent | 0b50c5b9692186b93f1cf7144c054d773eb8788b (diff) |
Fix a regression in term.c rev. 1.89 reported by bentley@:
In UTF-8 output, do not print anything if mchars_spec2cp() returns 0.
In particular, this repairs handling of zero-width spaces (\&).
While here, let mchars_spec2cp() return 0xFFFD instead of -1
if the character is not found, simplifying the using code.
In HTML output, do not print obfuscated ASCII characters and
do not test for one-char escapes, mchars_spec2cp() already does that.
Diffstat (limited to 'usr.sbin/bind/lib/isc')
0 files changed, 0 insertions, 0 deletions