=================================================================== RCS file: /cvs/mandoc/mandoc.c,v retrieving revision 1.84.2.1 retrieving revision 1.85 diff -u -p -r1.84.2.1 -r1.85 --- mandoc/mandoc.c 2014/08/18 13:16:00 1.84.2.1 +++ mandoc/mandoc.c 2014/08/16 19:00:01 1.85 @@ -1,4 +1,4 @@ -/* $Id: mandoc.c,v 1.84.2.1 2014/08/18 13:16:00 schwarze Exp $ */ +/* $Id: mandoc.c,v 1.85 2014/08/16 19:00:01 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -199,8 +199,7 @@ mandoc_escape(const char **end, const char **start, in /* FALLTHROUGH */ case 'x': if (strchr(" %&()*+-./0123456789:<=>", **start)) { - if ('\0' != **start) - ++*end; + ++*end; return(ESCAPE_ERROR); } gly = ESCAPE_IGNORE; @@ -456,7 +455,7 @@ a2time(time_t *t, const char *fmt, const char *p) memset(&tm, 0, sizeof(struct tm)); pp = NULL; -#ifdef HAVE_STRPTIME +#if HAVE_STRPTIME pp = strptime(p, fmt, &tm); #endif if (NULL != pp && '\0' == *pp) {