localtime() for win32 problem.
- From: "Korea PostgreSQL Users' Group" <pgsql-kr(at)postgresql(dot)or(dot)kr>
- To: <pgsql-hackers-win32(at)postgresql(dot)org>
- Subject: localtime() for win32 problem.
- Date: Thu, 29 Jul 2004 13:05:45 +0900
- Message-id: <000d01c47521$5534f100$cdcb56dc(at)paolo(dot)net>
I found that localtime do not work same between linux and win32.
timet = -1000000; /* minus value */
localtime(&timet);
above codes do not work win32. (in Microsoft C, mingw gcc too)
so, score_timezone() function in src/timezone/pgtz.c should be changed.
this problem is continuous with initdb when initdb run without setting TZ env value.
Home |
Main Index |
Thread Index