summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--man_term.c4
-rw-r--r--mdoc_term.c4
3 files changed, 1 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 09c7e467..6e88275b 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ INSTALL_DATA = install -m 0444
INSTALL_LIB = install -m 0644
INSTALL_MAN = $(INSTALL_DATA)
-VERSION = 1.7.17
+VERSION = 1.7.18
VDATE = 15 June 2009
VFLAGS = -DVERSION=\"$(VERSION)\"
diff --git a/man_term.c b/man_term.c
index 976139a2..698304b7 100644
--- a/man_term.c
+++ b/man_term.c
@@ -449,11 +449,7 @@ print_foot(struct termp *p, const struct man_meta *meta)
tm = localtime(&meta->date);
-#ifdef __OpenBSD__
- if (NULL == strftime(buf, p->rmargin, "%B %d, %Y", tm))
-#else
if (0 == strftime(buf, p->rmargin, "%B %d, %Y", tm))
-#endif
err(1, "strftime");
term_vspace(p);
diff --git a/mdoc_term.c b/mdoc_term.c
index 5a8c7ddc..35ec24e7 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -415,11 +415,7 @@ print_foot(struct termp *p, const struct mdoc_meta *meta)
tm = localtime(&meta->date);
-#ifdef __OpenBSD__
- if (NULL == strftime(buf, p->rmargin, "%B %d, %Y", tm))
-#else
if (0 == strftime(buf, p->rmargin, "%B %d, %Y", tm))
-#endif
err(1, "strftime");
(void)strlcpy(os, meta->os, p->rmargin);