ISO C99 7.19.2.5 doesn't like mixing putchar(3) and putwchar(3) on
authorschwarze <schwarze@openbsd.org>
Fri, 8 Jul 2016 22:27:58 +0000 (22:27 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 8 Jul 2016 22:27:58 +0000 (22:27 +0000)
commit2db2cb23316801370eb6bebdc8d2fa99d46a233f
tree19f58f2a01e833ac7015cf1457faa8e771e69503
parent2c2263ff70f23de5c4c7fe12bedab531bb13fedb
ISO C99 7.19.2.5 doesn't like mixing putchar(3) and putwchar(3) on
the same stream, and actually, it fails spectacularly on glibc.
Portability issue pointed out by Svyatoslav Mishyn <juef at openmailbox
dot org> after testing on Void Linux.
usr.bin/mandoc/main.c
usr.bin/mandoc/main.h
usr.bin/mandoc/term_ascii.c