Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2002 12:38:06 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdtime localtime.c
Message-ID:  <200212021738.gB2Hc6af031936@khavrinen.lcs.mit.edu>
In-Reply-To: <200212020105.gB21596L092766@repoman.freebsd.org>
References:  <200212020105.gB21596L092766@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 1 Dec 2002 17:05:09 -0800 (PST), Peter Wemm <peter@FreeBSD.org> said:

>   This solves the problem of mktime/localtime looping on ia64.  Unfortunately,
>   the standards say that tm_year is an 'int', so we are still stuck with a
>   y2147483647 bug.

Not necessarily a bug: the Standard also says that, if any field in
the broken-down time is too narrow to represent the correct value,
localtime() should fail with [EOVERFLOW].

-GAWollman


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




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