iliaa Sun Feb 8 23:05:57 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/main main.c
Log:
MFH: Fixed bug #27175 (tzset() is not being called by PHP on startup).
http://cvs.php.net/diff.php/php-src/main/main.c?r1=1.512.2.52&r2=1.512.2.53&ty=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.512.2.52 php-src/main/main.c:1.512.2.53
--- php-src/main/main.c:1.512.2.52 Wed Jan 28 19:09:26 2004
+++ php-src/main/main.c Sun Feb 8 23:05:56 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.512.2.52 2004/01/29 00:09:26 pollita Exp $ */
+/* $Id: main.c,v 1.512.2.53 2004/02/09 04:05:56 iliaa Exp $ */
/* {{{ includes
*/
@@ -1138,6 +1138,10 @@
setlocale(LC_CTYPE, "");
#endif
+#if HAVE_TZSET
+ tzset();
+#endif
+
#if defined(PHP_WIN32) || (defined(NETWARE) && defined(USE_WINSOCK))
/* start up winsock services */
if (WSAStartup(wVersionRequested, &wsaData) != 0) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php