Change ordering of HAVE_TM_ZONE and HAVE_INT_TIMEZONE code blocks

Thomas G. Lockhart <lockhart@fourpalms.org>

Commit: 4d56dbd678fb84cac66a47421ae06a090d438a99
Author: Thomas G. Lockhart <lockhart@fourpalms.org>
Date: 1998-12-31T16:30:59Z
Releases: 7.1.1
Change ordering of HAVE_TM_ZONE and HAVE_INT_TIMEZONE code blocks
 to give HAVE_TM_ZONE priority. This fixes glibc2 machines and any other
 machine which passes both tests in configure.
Repair HAVE_TM_ZONE code which stuffs tm structure with date type values.
 Same problems as were originally there before v6.1, but never noticed.
Thanks to Oleg for nagging :)

Files

PathChange+/−
src/backend/utils/adt/datetime.c modified +31 −15
src/backend/utils/adt/dt.c modified +34 −25
src/backend/utils/adt/nabstime.c modified +11 −12