From ca2a28774a9bb2856dc17d0dfe39e50e6cc28e37 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Wed, 26 Feb 2003 22:19:01 +0000 Subject: MFB: Get rid of a redundant syscall on non-Windows --- main/main.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.1