From: Dmitry Stogov Date: Thu, 21 Jan 2021 08:39:13 +0000 (+0300) Subject: Fixed crash in ZTS build with --repeat option X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba89dcb75a0867990ff8b8b6e348a65cba93279f;p=php Fixed crash in ZTS build with --repeat option --- diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 2cabbf961d..3c1fae1924 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -898,6 +898,7 @@ do_repeat: php_optind++; } if (script_file) { + virtual_cwd_activate(); if (cli_seek_file_begin(&file_handle, script_file) != SUCCESS) { goto err; } else {