Skip to content

Commit ca2a287

Browse files
committed
MFB: Get rid of a redundant syscall on non-Windows
1 parent 695ae92 commit ca2a287

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,9 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
17291729
#if defined(ZEND_MULTIBYTE) && defined(HAVE_MBSTRING)
17301730
php_mb_set_zend_encoding(TSRMLS_C);
17311731
#endif /* ZEND_MULTIBYTE && HAVE_MBSTRING */
1732+
#ifdef PHP_WIN32
17321733
zend_unset_timeout(TSRMLS_C);
1734+
#endif
17331735
zend_set_timeout(INI_INT("max_execution_time"));
17341736
retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS);
17351737

0 commit comments

Comments
 (0)