pgsql-server/src/backend/utils/adt datetime.c

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/utils/adt datetime.c
Date: 2002-09-03 19:46:32
Message-ID: 20020903194632.C3958476154@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 02/09/03 15:46:32

Modified files:
src/backend/utils/adt: datetime.c

Log message:
Work around mktime() brain damage in recent versions of glibc by using
a series of localtime() calls to determine the local timezone offset
when mktime() fails. This eliminates regression failures on RHL 7.3,
and should continue to work until it occurs to the glibc boys to break
localtime() as well. By then I hope we'll have our own timezone code...

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Sean Chittenden 2002-09-03 20:31:28 Re: pgsql-server/src/backend/utils/adt datetime.c
Previous Message Tom Lane 2002-09-03 19:41:28 pgsql-server/src/backend/utils/adt date.c