diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-26 13:45:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-26 13:45:49 +0000 |
commit | 0280c8a13656a9732da27952c02fa7c4dab7fb27 (patch) | |
tree | 23720ce433958606ad213ad50318124d3a83b07b /mdoc_action.c | |
parent | 717a817cbd9b518c17540a65aef5b86b462dd1dc (diff) | |
download | mandoc-0280c8a13656a9732da27952c02fa7c4dab7fb27.tar.gz |
Note that `Dd' can be empty. This found following a thread on discuss@
started by Sascha Wildner, 07/25/2010 06:30 AM.
Diffstat (limited to 'mdoc_action.c')
-rw-r--r-- | mdoc_action.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mdoc_action.c b/mdoc_action.c index bb58f768..317fa54a 100644 --- a/mdoc_action.c +++ b/mdoc_action.c @@ -904,6 +904,11 @@ post_dd(POST_ARGS) { char buf[DATESIZ]; + if (NULL == n->child) { + m->meta.date = time(NULL); + return(post_prol(m, n)); + } + if ( ! concat(m, buf, n->child, DATESIZ)) return(0); |