Skip to content

Commit

Permalink
Add missing negation in EINTR check
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Aug 13, 2023
1 parent 0b80f2c commit 6eacd6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Revision history for Test-Harness

- Add missing negation in EINTR check

3.46 2023-07-30
- Color the "ok"s as well.
- Skip symlink tests on msys2
Expand Down
2 changes: 1 addition & 1 deletion lib/TAP/Parser/Multiplexer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ sub _iter {
until (@ready) {
return unless $sel->count;
@ready = $sel->can_read;
last if @ready || $!{EINTR};
last if @ready || !$!{EINTR};
}

my ( $h, $parser, $stash, @handles ) = @{ shift @ready };
Expand Down

0 comments on commit 6eacd6c

Please sign in to comment.