This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Most socket ops weren't warning for unopened handles unless 'closed' was enabled
authorNicholas Clark <nick@ccl4.org>
Thu, 30 Dec 2010 17:30:24 +0000 (17:30 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 30 Dec 2010 17:30:24 +0000 (17:30 +0000)
commitfbcda526a9bbe2ee1302d6f4507b07f83661fc0d
tree302f9eb9b171ab88aa3140078d52932190a073f8
parentdc8c4646c510896ec1292648fdb11164f9bb831f
Most socket ops weren't warning for unopened handles unless 'closed' was enabled

They were checking that category 'closed' was enabled for warnings before
calling report_evil_fh(), which in turn was (correctly) checking category
'unopened'.
pp_sys.c
t/lib/warnings/pp_sys