From: Rasmus Lerdorf Date: Wed, 26 Feb 2003 22:19:01 +0000 (+0000) Subject: MFB: Get rid of a redundant syscall on non-Windows X-Git-Tag: RELEASE_0_5~728 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca2a28774a9bb2856dc17d0dfe39e50e6cc28e37;p=php MFB: Get rid of a redundant syscall on non-Windows --- diff --git a/main/main.c b/main/main.c index c9e36152dd..94e8d8df12 100644 --- a/main/main.c +++ b/main/main.c @@ -1729,7 +1729,9 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC) #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);