Skip to content

Commit fc24855

Browse files
committed
perldelta for readline ignores EAGAIN, EWOULDBLOCK
1 parent c4ba4cb commit fc24855

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pod/perldelta.pod

+7
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,13 @@ C<FETCH>, but without using the result. If VAR is a reference, the referenced
401401
entity has its refcount properly decremented when VAR is turned into a string;
402402
previously, it would leak memory. [GH #22898]
403403

404+
=item *
405+
406+
L<perlfunc/readline> now clears the error flag if an error occurs when
407+
reading and that error is C<EAGAIN> or C<EWOULDBLOCK>. This allows
408+
old code that depended on C<readline> to clear all errors to ignore
409+
these relatively harmless errors. [GH #22883]
410+
404411
=back
405412

406413
=head1 Known Problems

0 commit comments

Comments
 (0)