* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: time.c,v 1.24.2.1 2001/09/05 00:38:12 gson Exp $ */
+/* $Id: time.c,v 1.24.2.2 2001/09/05 17:32:05 gson Exp $ */
#include <config.h>
FILETIME localft;
SYSTEMTIME st;
+ static const char badtime[] = "Bad 00 99:99:99.999";
static const char *months[] = {
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
months[st.wMonth], st.wDay, st.wHour, st.wMinute,
st.wSecond, st.wMilliseconds);
} else {
- snprintf(buf, len, "<bad time>");
+ snprintf(buf, len, badtime);
}
}