implement IO::Splice.copy_stream
commitecb5f27598a6f53b6e02817bb0c1644fc4c75f09
authorEric Wong <normalperson@yhbt.net>
Tue, 1 Jun 2010 23:01:58 +0000 (1 16:01 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 1 Jun 2010 23:04:47 +0000 (1 16:04 -0700)
treeb8ff480974d11f317675f9919d16b4456f4a3d69
parent09ae46671a8829dbc2fba3ec8f2de9127e3c3315
implement IO::Splice.copy_stream

This is like IO.copy_stream in Ruby 1.9, but uses
the splice() system call internally.
lib/io/splice.rb
test/test_io_splice.rb