diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2003-02-26 22:19:01 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2003-02-26 22:19:01 +0000 |
commit | ca2a28774a9bb2856dc17d0dfe39e50e6cc28e37 (patch) | |
tree | faf0b4936cc368c9db7a47baae4bce981de2bade | |
parent | 695ae92c9765018dbb3738f6733065ad27c3d4c2 (diff) | |
download | php-git-ca2a28774a9bb2856dc17d0dfe39e50e6cc28e37.tar.gz |
MFB: Get rid of a redundant syscall on non-Windows
-rw-r--r-- | main/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |