cvs: php4 /main main.c
| From: | Harald Radi | Date: | Wed, 29 Jan 2003 00:47:31 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18259@lists.php.net to get a copy of this message | ||
phanto Tue Jan 28 19:47:31 2003 EDT
Modified files:
/php4/main main.c
Log:
MFPHP_4_3
Index: php4/main/main.c
diff -u php4/main/main.c:1.523 php4/main/main.c:1.524
--- php4/main/main.c:1.523 Tue Jan 7 21:44:09 2003
+++ php4/main/main.c Tue Jan 28 19:47:31 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.523 2003/01/08 02:44:09 iliaa Exp $ */
+/* $Id: main.c,v 1.524 2003/01/29 00:47:31 phanto Exp $ */
/* {{{ includes
*/
@@ -873,6 +873,10 @@
{
int retval = SUCCESS;
+#ifdef PHP_WIN32
+ CoInitialize(NULL);
+#endif
+
#if PHP_SIGCHILD
signal(SIGCHLD, sigchld_handler);
#endif
@@ -1072,6 +1076,10 @@
zend_try {
zend_unset_timeout(TSRMLS_C);
} zend_end_try();
+
+#ifdef PHP_WIN32
+ CoUninitialize();
+#endif
}
/* }}} */