summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2003-02-26 22:19:01 +0000
committerRasmus Lerdorf <rasmus@php.net>2003-02-26 22:19:01 +0000
commitca2a28774a9bb2856dc17d0dfe39e50e6cc28e37 (patch)
treefaf0b4936cc368c9db7a47baae4bce981de2bade
parent695ae92c9765018dbb3738f6733065ad27c3d4c2 (diff)
downloadphp-git-ca2a28774a9bb2856dc17d0dfe39e50e6cc28e37.tar.gz
MFB: Get rid of a redundant syscall on non-Windows
-rw-r--r--main/main.c2
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);