* mandoc: add forgotten mparse options to two rarely used programs
@ 2019-03-03 11:01 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-03-03 11:01 UTC (permalink / raw)
To: source
Log Message:
-----------
add forgotten mparse options to two rarely used programs
Modified Files:
--------------
mandoc:
demandoc.c
mandocd.c
Revision Data
-------------
Index: mandocd.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mandocd.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -Lmandocd.c -Lmandocd.c -u -p -r1.9 -r1.10
--- mandocd.c
+++ mandocd.c
@@ -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) {
Index: demandoc.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/demandoc.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -Ldemandoc.c -Ldemandoc.c -u -p -r1.32 -r1.33
--- demandoc.c
+++ demandoc.c
@@ -79,7 +79,8 @@ main(int argc, char *argv[])
argv += optind;
mchars_alloc();
- mp = mparse_alloc(MPARSE_SO | MPARSE_VALIDATE, MANDOC_OS_OTHER, NULL);
+ mp = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1 |
+ MPARSE_VALIDATE, MANDOC_OS_OTHER, NULL);
assert(mp);
if (argc < 1)
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-03-03 11:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-03 11:01 mandoc: add forgotten mparse options to two rarely used programs schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).