Skip to content

Commit

Permalink
perldelta for readline ignores EAGAIN, EWOULDBLOCK
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Jan 12, 2025
1 parent c4ba4cb commit fc24855
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pod/perldelta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,13 @@ C<FETCH>, but without using the result. If VAR is a reference, the referenced
entity has its refcount properly decremented when VAR is turned into a string;
previously, it would leak memory. [GH #22898]

=item *

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

=back

=head1 Known Problems
Expand Down

0 comments on commit fc24855

Please sign in to comment.