Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time Don't attempt to set TM_ZONE (name) for 'J' as...
details: https://anonhg.NetBSD.org/src/rev/0a035dc6030e
branches: trunk
changeset: 341336:0a035dc6030e
user: ginsbach <ginsbach%NetBSD.org@localhost>
date: Sat Oct 31 03:42:00 2015 +0000
description:
Don't attempt to set TM_ZONE (name) for 'J' as isdst isn't known.
diffstat:
lib/libc/time/strptime.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 21f0869d3715 -r 0a035dc6030e lib/libc/time/strptime.c
--- a/lib/libc/time/strptime.c Sat Oct 31 02:40:44 2015 +0000
+++ b/lib/libc/time/strptime.c Sat Oct 31 03:42:00 2015 +0000
@@ -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 @@
tm->TM_GMTOFF = -timezone;
#endif
#ifdef TM_ZONE
- tm->TM_ZONE = tzname[i];
+ tm->TM_ZONE = NULL; /* XXX */
#endif
bp++;
continue;
Home |
Main Index |
Thread Index |
Old Index