From fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 3 Mar 2019 11:01:15 +0000 Subject: add forgotten mparse options to two rarely used programs --- mandocd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mandocd.c') diff --git a/mandocd.c b/mandocd.c index 77fd3d0d..b8b5570d 100644 --- a/mandocd.c +++ b/mandocd.c @@ -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 * Copyright (c) 2017 Ingo Schwarze @@ -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) { -- cgit v1.2.3-56-ge451