Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 12:40:05 -0800 (PST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/15520: mktime() fails under certain conditions
Message-ID:  <199912162040.MAA33173@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR bin/15520; it has been noted by GNATS.

From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/15520: mktime() fails under certain conditions
Date: Thu, 16 Dec 1999 21:36:47 +0100

 On Thu, 16-Dec-1999 at 21:24:41 +0100, Poul-Henning Kamp wrote:
 > In message <199912162016.VAA97593@internal>, Andre Albsmeier writes:
 > 
 > >mktime() fails if it is called with a time that is exactly
 > >the moment when daylight saving time is starting.
 > 
 > Well, at least for the "spring forward case" that time doesn't
 > exist:
 > 
 > 	01:59:57
 > 	01:59:58
 > 	01:59:59
 > 	03:00:00
 > 
 > There is no 02:00:00 that night.  If they test for that, they're
 > crazy.
 
 Yes, the time does not exist. However, I only wonder it our
 behaviour of returning an error is correct in this case. I don't
 trust the GNU/Linux guys as much as I trust FreeBSD :-) but there
 might be a reason they are testing it.
 
 I was already asked in private email if the mktime() should
 succeed according to POSIX.1... Does somebody know anything
 about that?
 
 	-Andre
 


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?199912162040.MAA33173>