This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
IO::Handle: clear the error on both input and output streams
authorTony Cook <tony@develop-help.com>
Tue, 12 May 2020 00:59:08 +0000 (10:59 +1000)
committerKarl Williamson <khw@cpan.org>
Thu, 30 Jul 2020 21:29:22 +0000 (15:29 -0600)
commitfc5f3468dcbee38eb202cfd552a5b8dbff990c7b
tree42acf88e3adfb138a7f28091cb828bf050d2e508
parent89341f87f9fc65c4d7133e497bb04586e86b8052
IO::Handle: clear the error on both input and output streams

Similarly to GH #6799 clearerr() only cleared the error status
of the input stream, so clear both.
dist/IO/IO.xs
dist/IO/t/io_xs.t