diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-03 11:01:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-03 11:01:15 +0000 |
commit | fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76 (patch) | |
tree | 989d139c8ec02b2528cab9d5645f2f1c294c225d /mandocd.c | |
parent | c3ae28ecece496b8f21d2fcf6abbf1f7ae9076f8 (diff) | |
download | mandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.tar.gz mandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.tar.zst mandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.zip |
add forgotten mparse options to two rarely used programs
Diffstat (limited to 'mandocd.c')
-rw-r--r-- | mandocd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandocd.c,v 1.9 2018/12/30 00:49:55 schwarze Exp $ */ +/* $Id: mandocd.c,v 1.10 2019/03/03 11:01:15 schwarze Exp $ */ /* * Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -171,8 +171,8 @@ main(int argc, char *argv[]) errx(1, "file descriptor %s %s", argv[1], errstr); mchars_alloc(); - parser = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1, - MANDOC_OS_OTHER, defos); + parser = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1 | + MPARSE_VALIDATE, MANDOC_OS_OTHER, defos); memset(&options, 0, sizeof(options)); switch (outtype) { |