]> granicus.if.org Git - postgresql/commit
Work around mktime() brain damage in recent versions of glibc by using
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Sep 2002 19:46:32 +0000 (19:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Sep 2002 19:46:32 +0000 (19:46 +0000)
commit86f27321e25b5a1a7b6c78400e54f063525b07d5
tree6278c9021117b326ba8e952ac001a8f29bf73879
parent4885dabe9dc0c6fa47fbd668111b4b8776481bf7
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...
src/backend/utils/adt/datetime.c