diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-08 22:29:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-07-08 22:29:05 +0000 |
commit | e4bd20c87c7efde9f1a64968c257d09331d63513 (patch) | |
tree | 2851c7a074f4e1c6d51188ef1d169ed7509108d5 /main.c | |
parent | e8e468f87237253e5bdaaef7631457e73b73332e (diff) | |
download | mandoc-e4bd20c87c7efde9f1a64968c257d09331d63513.tar.gz |
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.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -479,7 +479,7 @@ main(int argc, char *argv[]) conf.output.synopsisonly); if (argc > 1 && curp.outtype <= OUTT_UTF8) - ascii_sepline(curp.outdata); + terminal_sepline(curp.outdata); } else if (rc < MANDOCLEVEL_ERROR) rc = MANDOCLEVEL_ERROR; |