source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: ooops, fix a glitch in the previous commit...
@ 2017-06-11 20:03 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-06-11 20:03 UTC (permalink / raw)
  To: source

Log Message:
-----------
ooops, fix a glitch in the previous commit...

Modified Files:
--------------
    mdocml:
        mdoc_validate.c

Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_validate.c,v
retrieving revision 1.337
retrieving revision 1.338
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.337 -r1.338
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -2580,7 +2580,7 @@ out:	mdoc->meta.os_e = strstr(mdoc->meta
 			return;
 	if ((n = n->child) == NULL)
 		return;
-	if (strcmp(n->string, "$" "Mdocdate")) {
+	if (strncmp(n->string, "$" "Mdocdate", 9)) {
 		if (mdoc->meta.os_e == MDOC_OS_OPENBSD)
 			mandoc_vmsg(MANDOCERR_MDOCDATE_MISSING,
 			    mdoc->parse, n->line, n->pos,
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-11 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-11 20:03 mdocml: ooops, fix a glitch in the previous commit 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).