=================================================================== RCS file: /cvs/mandoc/Attic/action.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -p -r1.11 -r1.12 --- mandoc/Attic/action.c 2009/01/17 16:47:02 1.11 +++ mandoc/Attic/action.c 2009/01/19 17:02:58 1.12 @@ -1,4 +1,4 @@ -/* $Id: action.c,v 1.11 2009/01/17 16:47:02 kristaps Exp $ */ +/* $Id: action.c,v 1.12 2009/01/19 17:02:58 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -269,7 +269,7 @@ post_dd(struct mdoc *mdoc) assert(MDOC_TEXT == n->type); p = n->data.text.string; - if (xstrcmp(p, "$Mdocdate: January 17 2009 $")) { + if (xstrcmp(p, "$Mdocdate: January 19 2009 $")) { mdoc->meta.date = time(NULL); continue; } else if (xstrcmp(p, "$")) { @@ -297,6 +297,10 @@ post_dd(struct mdoc *mdoc) int mdoc_action_post(struct mdoc *mdoc) { + + if (MDOC_ACTED & mdoc->last->flags) + return(1); + mdoc->last->flags |= MDOC_ACTED; if (MDOC_TEXT == mdoc->last->type) return(1);