version 1.83, 2014/07/06 19:09:00 |
version 1.86, 2014/08/18 09:11:47 |
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
#ifdef HAVE_CONFIG_H |
|
#include "config.h" |
#include "config.h" |
#endif |
|
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
Line 201 mandoc_escape(const char **end, const char **start, in |
|
Line 199 mandoc_escape(const char **end, const char **start, in |
|
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case 'x': |
case 'x': |
if (strchr(" %&()*+-./0123456789:<=>", **start)) { |
if (strchr(" %&()*+-./0123456789:<=>", **start)) { |
++*end; |
if ('\0' != **start) |
|
++*end; |
return(ESCAPE_ERROR); |
return(ESCAPE_ERROR); |
} |
} |
gly = ESCAPE_IGNORE; |
gly = ESCAPE_IGNORE; |
Line 457 a2time(time_t *t, const char *fmt, const char *p) |
|
Line 456 a2time(time_t *t, const char *fmt, const char *p) |
|
memset(&tm, 0, sizeof(struct tm)); |
memset(&tm, 0, sizeof(struct tm)); |
|
|
pp = NULL; |
pp = NULL; |
#ifdef HAVE_STRPTIME |
#if HAVE_STRPTIME |
pp = strptime(p, fmt, &tm); |
pp = strptime(p, fmt, &tm); |
#endif |
#endif |
if (NULL != pp && '\0' == *pp) { |
if (NULL != pp && '\0' == *pp) { |