]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Change comparisons of tm->tm_isdst from "nonzero" to "greater than zero".
authorThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 17 Jan 2001 16:46:56 +0000 (16:46 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Wed, 17 Jan 2001 16:46:56 +0000 (16:46 +0000)
commit8e9840383c94ee9da264b7b29d85cf2ce4866449
tree8ebcae7abbf2eb8d55f0073b6c6ef569244c6a94
parent9a342d2035996720131ff96647f45f76b368ec53
Change comparisons of tm->tm_isdst from "nonzero" to "greater than zero".
 Not sure why some were this way, and others were already correct, but it
 seems to have been like this for several years.
This caused problems on a few damaged platforms like AIX and IRIX which do
 not support DST calculations for years before 1970.
Thanks to Andreas Zeugswetter <ZeugswetterA@wien.spardat.at> for finding
 the problem.
src/backend/utils/adt/datetime.c
src/backend/utils/adt/formatting.c
src/backend/utils/adt/nabstime.c
src/backend/utils/adt/timestamp.c