Module Name: src Committed By: christos Date: Sat Feb 20 20:11:37 UTC 2016
Modified Files: src/lib/libc/time: localtime.c Log Message: PR/50133: Martin Husemann: Can't cache $TZ. XXX: Pullup-7 To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/lib/libc/time/localtime.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/localtime.c diff -u src/lib/libc/time/localtime.c:1.100 src/lib/libc/time/localtime.c:1.101 --- src/lib/libc/time/localtime.c:1.100 Thu Oct 29 15:18:32 2015 +++ src/lib/libc/time/localtime.c Sat Feb 20 15:11:37 2016 @@ -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 @@ localtime(const time_t *timep) struct tm * localtime_r(const time_t * __restrict timep, struct tm *tmp) { - return localtime_tzset(timep, tmp, false); + return localtime_tzset(timep, tmp, true); } /*