Re: Pre-1970 dates under Win32

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: Pre-1970 dates under Win32
Дата
Msg-id 20040202073737.GA30929@ping.be
обсуждение исходный текст
Ответ на Re: Pre-1970 dates under Win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Pre-1970 dates under Win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Feb 02, 2004 at 01:57:15AM -0500, Tom Lane wrote:
> Claudio Natoli <claudio.natoli@memetrics.com> writes:
> > Under Win32, localtime returns NULL for dates pre 1970.
>
> Count on Microsloth to get it wrong :-(

I had a discussion about time_t some weeks ago.  There is nothing
in the standard that says time_t must be a signed, all it says is
that (time_t)(-1) represents an invalid value.

There are other OS's that have an unsigned time_t.


Kurt


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Claudio Natoli
Дата:
Сообщение: Re: Pre-1970 dates under Win32
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: pg_stat_activity