Skip to content

Commit

Permalink
Fixed crash in ZTS build with --repeat option
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Jan 21, 2021
1 parent 13c430b commit ba89dcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sapi/cli/php_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ static int do_cli(int argc, char **argv) /* {{{ */
php_optind++;
}
if (script_file) {
virtual_cwd_activate();
if (cli_seek_file_begin(&file_handle, script_file) != SUCCESS) {
goto err;
} else {
Expand Down

0 comments on commit ba89dcb

Please sign in to comment.