source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: cope with mparse_alloc() interface change
Date: Wed, 19 Mar 2014 18:05:10 -0400 (EDT)	[thread overview]
Message-ID: <201403192205.s2JM5AYE007902@krisdoz.my.domain> (raw)

Log Message:
-----------
cope with mparse_alloc() interface change

Modified Files:
--------------
    mdocml:
        cgi.c
        demandoc.c

Revision Data
-------------
Index: demandoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/demandoc.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Ldemandoc.c -Ldemandoc.c -u -p -r1.8 -r1.9
--- demandoc.c
+++ demandoc.c
@@ -76,7 +76,7 @@ main(int argc, char *argv[])
 	argc -= optind;
 	argv += optind;
 
-	mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL, 0);
+	mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL, NULL);
 	assert(mp);
 
 	if (0 == argc)
Index: cgi.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/cgi.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -Lcgi.c -Lcgi.c -u -p -r1.47 -r1.48
--- cgi.c
+++ cgi.c
@@ -739,7 +739,7 @@ format(const struct req *req, const char
 		return;
 	}
 
-	mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL, 0);
+	mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL, NULL);
 	rc = mparse_readfd(mp, fd, file);
 	close(fd);
 
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

             reply	other threads:[~2014-03-19 22:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19 22:05 schwarze [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-03-19 22:09 schwarze
2014-01-05 20:41 mdocml: Cope " schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201403192205.s2JM5AYE007902@krisdoz.my.domain \
    --to=schwarze@mdocml.bsd.lv \
    --cc=source@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).