Change ordering of HAVE_TM_ZONE and HAVE_INT_TIMEZONE code blocks
authorThomas G. Lockhart <[email protected]>
Thu, 31 Dec 1998 16:34:48 +0000 (16:34 +0000)
committerThomas G. Lockhart <[email protected]>
Thu, 31 Dec 1998 16:34:48 +0000 (16:34 +0000)
commit0b62bcdfe3a1e9f4cd6376aebcf1360f7cc506b9
tree66016ef74e05df6e9dd790e30257f8cd13c8fa33
parent72f4a748c44cae4ee86c46a5cd5712597154b299
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 :)
src/backend/utils/adt/datetime.c
src/backend/utils/adt/dt.c
src/backend/utils/adt/nabstime.c