about summary refs log tree commit homepage
path: root/ext/raindrops/linux_inet_diag.c
diff options
context:
space:
mode:
authorEric Wong <bofh@yhbt.net>2023-06-11 21:33:26 +0000
committerEric Wong <bofh@yhbt.net>2023-06-26 09:16:38 +0000
commit09a2f8678e7eddfc604ca7284fec81e278b774bc (patch)
treeade724584f5b36bde4c947969054770d19a252d9 /ext/raindrops/linux_inet_diag.c
parenta8dfec2568830241a27fce10014b6151a7a47813 (diff)
downloadraindrops-09a2f8678e7eddfc604ca7284fec81e278b774bc.tar.gz
my_fileno: use rb_io_check_closed for Ruby <3.1
This is less code and hopefully smaller binaries.
`rb_io_check_closed' has been in Ruby since the pre-CVS of
decades ago, and it doesn't matter if it's removed or not
in the future since Ruby 3.1+ doesn't see this code path
and calls `rb_io_descriptor' directly.
Diffstat (limited to 'ext/raindrops/linux_inet_diag.c')
0 files changed, 0 insertions, 0 deletions