-/* $Id: strings.c,v 1.27 2009/03/09 13:17:49 kristaps Exp $ */
+/* $Id: strings.c,v 1.28 2009/03/13 07:46:10 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
/* FALLTHROUGH */
case ('`'):
/* FALLTHROUGH */
+ case ('q'):
+ /* FALLTHROUGH */
case ('-'):
/* FALLTHROUGH */
case (' '):
(void)memset(&tm, 0, sizeof(struct tm));
- if (xstrcmp(p, "$Mdocdate: March 9 2009 $"))
+ if (xstrcmp(p, "$Mdocdate: March 13 2009 $"))
return(time(NULL));
- if ((pp = strptime(p, "$Mdocdate: March 9 2009 $", &tm)) && 0 == *pp)
+ if ((pp = strptime(p, "$Mdocdate: March 13 2009 $", &tm)) && 0 == *pp)
return(mktime(&tm));
/* XXX - this matches "June 1999", which is wrong. */
if ((pp = strptime(p, "%b %d %Y", &tm)) && 0 == *pp)