flags are optional for splice and trysplice
commit4ba0bb32bb717d1f77c2f4f3cb41e646eb243a7f
authorEric Wong <normalperson@yhbt.net>
Sun, 27 Feb 2011 00:44:17 +0000 (26 16:44 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 27 Feb 2011 00:50:48 +0000 (26 16:50 -0800)
tree20a74d418a3921af4dc457f8d7d77e60f894ea47
parent24a2f6db438537ff81081a41b5ebf02cda2dec57
flags are optional for splice and trysplice

No point in requiring the flags argument if it's going to be
zero, so default them to zero if they're unset.
ext/io_splice/io_splice_ext.c
test/test_io_splice.rb