cvs: php4 /main main.c
| From: | Rasmus Lerdorf | Date: | Wed, 26 Feb 2003 22:19:01 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19218@lists.php.net to get a copy of this message | ||
rasmus Wed Feb 26 17:19:01 2003 EDT
Modified files:
/php4/main main.c
Log:
MFB: Get rid of a redundant syscall on non-Windows
Index: php4/main/main.c
diff -u php4/main/main.c:1.529 php4/main/main.c:1.530
--- php4/main/main.c:1.529 Wed Feb 26 15:04:16 2003
+++ php4/main/main.c Wed Feb 26 17:19:01 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.529 2003/02/26 20:04:16 derick Exp $ */
+/* $Id: main.c,v 1.530 2003/02/26 22:19:01 rasmus Exp $ */
/* {{{ includes
*/
@@ -1729,7 +1729,9 @@
#if defined(ZEND_MULTIBYTE) && defined(HAVE_MBSTRING)
php_mb_set_zend_encoding(TSRMLS_C);
#endif /* ZEND_MULTIBYTE && HAVE_MBSTRING */
+#ifdef PHP_WIN32
zend_unset_timeout(TSRMLS_C);
+#endif
zend_set_timeout(INI_INT("max_execution_time"));
retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file,
append_file_p) == SUCCESS);