Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time PR/50133: Martin Husemann: Can't cache $TZ.
details: https://anonhg.NetBSD.org/src/rev/0555c4ef4d34
branches: trunk
changeset: 343688:0555c4ef4d34
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 20 20:11:37 2016 +0000
description:
PR/50133: Martin Husemann: Can't cache $TZ.
XXX: Pullup-7
diffstat:
lib/libc/time/localtime.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c34a9e1a8231 -r 0555c4ef4d34 lib/libc/time/localtime.c
--- a/lib/libc/time/localtime.c Sat Feb 20 17:07:32 2016 +0000
+++ b/lib/libc/time/localtime.c Sat Feb 20 20:11:37 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: localtime.c,v 1.100 2015/10/29 19:18:32 christos Exp $ */
+/* $NetBSD: localtime.c,v 1.101 2016/02/20 20:11:37 christos Exp $ */
/*
** This file is in the public domain, so clarified as of
@@ -10,7 +10,7 @@
#if 0
static char elsieid[] = "@(#)localtime.c 8.17";
#else
-__RCSID("$NetBSD: localtime.c,v 1.100 2015/10/29 19:18:32 christos Exp $");
+__RCSID("$NetBSD: localtime.c,v 1.101 2016/02/20 20:11:37 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -1540,7 +1540,7 @@
struct tm *
localtime_r(const time_t * __restrict timep, struct tm *tmp)
{
- return localtime_tzset(timep, tmp, false);
+ return localtime_tzset(timep, tmp, true);
}
/*
Home |
Main Index |
Thread Index |
Old Index