wait: avoid passing unnecessary args to rb_funcall
commitaa1da2e47c69302f9bdb2ab4990e81d87bbcaf1f
authorJeremy Evans <code@jeremyevans.net>
Fri, 15 Dec 2017 06:10:19 +0000 (15 06:10 +0000)
committerEric Wong <e@80x24.org>
Fri, 15 Dec 2017 18:50:54 +0000 (15 18:50 +0000)
tree11c3dd34207d2e0504c515bf07b2165ed7ee6457
parent9f9bf3b82bc77d18c2a96775c66ab173acf3865a
wait: avoid passing unnecessary args to rb_funcall

The extra arg is unnecessary and causes errors on some systems
(at least clang 5.0.0 on OpenBSD) under Ruby 2.5.0dev.
Note: this may be a regression in Ruby 2.5.0dev itself and might
need to be fixed upstream, as other gems may also break.

cf. https://bogomips.org/kgio-public/20171215053434.GT7579@jeremyevans.local/t/

Acked-by: Eric Wong <e@80x24.org>
[ew: commit message]
ext/kgio/wait.c