about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-01-12 21:17:46 +0000
committerEric Wong <e@yhbt.net>2020-01-13 23:21:18 +0000
commit8acfb1f135a0c3d156ed5cc19a26844c09d20acb (patch)
treebf965395196f40e512dd3dff95eae6ee49f14c0e /t
parentc5c709dcef1b5904467ff2aea3943f00a891dade (diff)
downloadpublic-inbox-8acfb1f135a0c3d156ed5cc19a26844c09d20acb.tar.gz
"fileno(undef)" already dies under "use strict", so there's no
need to check for it ourselves.  As far as "fileno($closed_io)"
or "fileno($fake_io)" goes, we'll let epoll_ctl detect the
error, instead.

Our design should make DescriptorMap entries impossible to clobber,
so make it fatal via confess in case it does happen, because
inadvertantly clobbering a FD would be very bad.  While we're at
it, remove a redundant return statement and rely on implicit
returns.
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions