Module Name: src
Committed By: ginsbach
Date: Sat Oct 31 03:42:00 UTC 2015
Modified Files:
src/lib/libc/time: strptime.c
Log Message:
Don't attempt to set TM_ZONE (name) for 'J' as isdst isn't known.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/lib/libc/time/strptime.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/time/strptime.c
diff -u src/lib/libc/time/strptime.c:1.57 src/lib/libc/time/strptime.c:1.58
--- src/lib/libc/time/strptime.c:1.57 Sat Oct 31 02:14:08 2015
+++ src/lib/libc/time/strptime.c Sat Oct 31 03:42:00 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: strptime.c,v 1.57 2015/10/31 02:14:08 christos Exp $ */
+/* $NetBSD: strptime.c,v 1.58 2015/10/31 03:42:00 ginsbach Exp $ */
/*-
* Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strptime.c,v 1.57 2015/10/31 02:14:08 christos Exp $");
+__RCSID("$NetBSD: strptime.c,v 1.58 2015/10/31 03:42:00 ginsbach Exp $");
#endif
#include "namespace.h"
@@ -538,7 +538,7 @@ namedzone:
tm->TM_GMTOFF = -timezone;
#endif
#ifdef TM_ZONE
- tm->TM_ZONE = tzname[i];
+ tm->TM_ZONE = NULL; /* XXX */
#endif
bp++;
continue;