Skip to content

Commit 6f0b2f1

Browse files
committed
perldelta for readline ignores EAGAIN, EWOULDBLOCK
1 parent d57d976 commit 6f0b2f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pod/perldelta.pod

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,10 @@ manager will later use a regex to expand these into links.
378378

379379
=item *
380380

381-
XXX
381+
L<perlfunc/readline> now clears the error flag if an error occurs when
382+
reading and that error is C<EAGAIN> or C<EWOULDBLOCK>. This allows
383+
old code that depended on C<readline> to clear all errors to ignore
384+
these relatively harmless errors. [GH #22883]
382385

383386
=back
384387

0 commit comments

Comments
 (0)