Skip to content

Commit 34a2949

Browse files
committed
ext/readline: Fix flacky readline CLI pager test
This fix the ext/readline/tests/readline_cli_pager.phpt test introduced in GH-22994.
1 parent 4905ce8 commit 34a2949

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/readline/readline_cli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ static int readline_shell_run(void) /* {{{ */
710710
}
711711

712712
if (pager_pipe) {
713-
fclose(pager_pipe);
713+
pclose(pager_pipe);
714714
pager_pipe = NULL;
715715
}
716716

0 commit comments

Comments
 (0)