Date: Thu, 11 Nov 1999 15:10:02 -0800 (PST) From: "Andrey A. Chernov" <ache@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/14813: Perl POSIX::strftime bugfeature Message-ID: <199911112310.PAA17449@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/14813; it has been noted by GNATS. From: "Andrey A. Chernov" <ache@freebsd.org> To: Valentin Nechayev <netch@lucky.net> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/14813: Perl POSIX::strftime bugfeature Date: Thu, 11 Nov 1999 15:04:23 -0800 On Wed, Nov 10, 1999 at 09:12:44PM +0200, Valentin Nechayev wrote: > Disable the mktime() call in POSIX::strftime. Also disable init_tm(), > whis is really localtime(time()) - IMHO the better solution for FreeBSD > in case of tm_gmtoff & tm_zone patameters is to set them to most safe value, > i.e. 0. What about just replacing mktime() with timegm()? It seems to produce correct results, but I not check it. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911112310.PAA17449>