Try to comprehensively have a plan B if a PerlIO
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 9 May 2003 18:53:27 +0000 (18:53 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 9 May 2003 18:53:27 +0000 (18:53 +0000)
commit1b7a0411f8b7cab25944dd0429da7dbe6061945b
tree57aaf28a958dbb33caccbd6e287c935f759e180d
parent1fa58becc2b101b3968cca02b977c50896c15fc5
Try to comprehensively have a plan B if a PerlIO
layer doesn't have a particular function.
(1) If there's a corresponding PerlIOBase, call it.
(2) If not having the function is 'harmless', be silently happy.
    (Currently only Flush is in this category.)
(3) Otherwise set errno and return failure.

p4raw-id: //depot/perl@19462
perlio.c