portability fixes for systems w/o splice, copy_file_range
commitd56ab3b844995bce2231f43e319f3bd9bfc6ad71
authorEric Wong <e@80x24.org>
Sat, 11 Mar 2017 09:37:35 +0000 (11 09:37 +0000)
committerEric Wong <e@80x24.org>
Sat, 11 Mar 2017 09:37:57 +0000 (11 09:37 +0000)
tree8d8cc7f456aade43e3f505ba8fe4c5c5301b9773
parentf992a789f5b6cfc05e53281ee8cbe06b99c36c0c
portability fixes for systems w/o splice, copy_file_range

We need to support FreeBSD, at least.
ext/sleepy_penguin/cfr.c
ext/sleepy_penguin/init.c
ext/sleepy_penguin/sleepy_penguin.h
test/test_splice.rb
test/test_splice_eintr.rb