Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 1999 07:04:41 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Marc Olzheim <marcolz@stack.nl>
Cc:        stable@FreeBSD.org
Subject:   Re: tzset in libc
Message-ID:  <36DDB1F9.D944C26E@newsguy.com>
References:  <19990303170256.A15288@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc Olzheim wrote:
> 
> I was wondering why it was that each time you call localtime() or strftime(),
> tzset() is called also. Isn't it so that it only has to be called once
> per process and then be regearded as already set ?

[...] 

> When the timezone changes, you'd have to call tzset() manually, but in my
> case, it's worth it.

Could it be that time zone can change because of daylight savings?
Notice, this is just an uninformed guess.

--
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org

	"FreeBSD is Yoda, Linux is Luke Skywalker."




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36DDB1F9.D944C26E>