pp_leavewrite wasn't warning for unopened handles unless 'closed' was enabled.
authorNicholas Clark <nick@ccl4.org>
Thu, 30 Dec 2010 16:52:22 +0000 (16:52 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 30 Dec 2010 16:52:22 +0000 (16:52 +0000)
commitc521cf7c8af1697e5efd8ce3ad75ed00606db13b
tree218f51bab9cef4c2f05cc4468a8078df6a0e54c0
parent8985fe98dcc5c0af2fadeac15dfbc13f553ee7fc
pp_leavewrite wasn't warning for unopened handles unless 'closed' was enabled.

It was 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