Date: Fri, 13 Feb 2004 18:40:45 +0100 From: Stefan Farfeleder <stefan@fafoe.narf.at> To: Samy Al Bahra <samy@kerneled.com> Cc: standards@FreeBSD.org Subject: Re: timezone in time.h Message-ID: <20040213174041.GA629@wombat.fafoe.narf.at> In-Reply-To: <20040209234115.3c82e245.samy@kerneled.com> References: <20040209234115.3c82e245.samy@kerneled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 09, 2004 at 11:41:15PM +0300, Samy Al Bahra wrote: > http://www.opengroup.org/onlinepubs/007904975/basedefs/time.h.html > > timezone is defined as a long, a lot of time keeping applications (in > this part of the world at the least) depend on this variable maintaining > the value difference between UTC and the local standard time. > > Is there any chance we could move our timezone function to something > else? and stick to a timezone variable? or provide an alternative name > but similar functionality to this? Anyone working on this already? There's only a single reference to timezone() in the whole source tree, src/contrib/sendmail/src/arpadate.c, and the code in that file is #ifdef'ed out. Just for fun I built and installed a world without timezone(), as expected it succeeded. NetBSD already warns that timezone() will eventually disappear in its man page, maybe we should follow them and remove timezone() in 6-current. Cheers, Stefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040213174041.GA629>