This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
rt.perl.org #123977 - clear errno in IRIX PERLIO=stdio
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 17 Oct 2015 22:11:37 +0000 (18:11 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 18 Oct 2015 02:16:25 +0000 (22:16 -0400)
commitbdae4172ce49ee233037d3e6af7dbeea521d0562
treea49fd12b698873b1486ed9e4036aca3145272d0f
parent6aba156ffbafbf27a3ba4f313d90ed712fc4e5d4
rt.perl.org #123977 - clear errno in IRIX PERLIO=stdio

Under some circumstances IRIX stdio fgetc() and fread() set the errno
to ENOENT, which makes no sense according to either IRIX or POSIX docs.
Just clear such an errno.
perlio.c