Skip to content

Commit ba89dcb

Browse files
committed
Fixed crash in ZTS build with --repeat option
1 parent 13c430b commit ba89dcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/cli/php_cli.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@ static int do_cli(int argc, char **argv) /* {{{ */
898898
php_optind++;
899899
}
900900
if (script_file) {
901+
virtual_cwd_activate();
901902
if (cli_seek_file_begin(&file_handle, script_file) != SUCCESS) {
902903
goto err;
903904
} else {

0 commit comments

Comments
 (0)