This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
As report_wrongway_fh() checks ckWARN(WARN_IO) internally, don't duplicate this.
authorNicholas Clark <nick@ccl4.org>
Tue, 28 Dec 2010 09:30:31 +0000 (09:30 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 28 Dec 2010 10:03:48 +0000 (10:03 +0000)
commit7716c5c554409ba94e8dd56116adbde29e4d5b6c
tree2a9e58bd43609d4da9d6c26ee3d28fdd40b964f3
parentb42db14f8a2947a46ffdc12c9552476f4a19f2ba
As report_wrongway_fh() checks ckWARN(WARN_IO) internally, don't duplicate this.

This trades reduced code size for an extra function call in the error path with
warnings disabled. (And removes a duplicated check for the case of taking the
error path *with* warnings enabled.)
doio.c
pp_hot.c
pp_sys.c