summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-08 22:29:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-08 22:29:05 +0000
commite4bd20c87c7efde9f1a64968c257d09331d63513 (patch)
tree2851c7a074f4e1c6d51188ef1d169ed7509108d5 /main.c
parente8e468f87237253e5bdaaef7631457e73b73332e (diff)
downloadmandoc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9fa27767..461c91e4 100644
--- a/main.c
+++ b/main.c
@@ -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;