diff options
author | Eric Wong <e@80x24.org> | 2019-12-20 01:39:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-01-06 08:15:15 +0000 |
commit | 01fec98a75a6c879c96b3c757557559b9bd18a19 (patch) | |
tree | e43df1eef9730e2fb50be264550af9e104d22782 /lib/dtas/buffer/read_write.rb | |
parent | 940c0b3cffa7f691620e7890ada15c7519817307 (diff) | |
download | dtas-01fec98a75a6c879c96b3c757557559b9bd18a19.tar.gz |
Fiddle exists on all Ruby 1.9.2+ installations and seems alright. Since splice is a Linux-only API, we don't need to worry about the values of constants changing (and they're architecture-independent).
Diffstat (limited to 'lib/dtas/buffer/read_write.rb')
-rw-r--r-- | lib/dtas/buffer/read_write.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/buffer/read_write.rb b/lib/dtas/buffer/read_write.rb index 04856c7..e2001b6 100644 --- a/lib/dtas/buffer/read_write.rb +++ b/lib/dtas/buffer/read_write.rb @@ -6,8 +6,8 @@ require_relative '../../dtas' require_relative '../pipe' require_relative '../nonblock' -# compatibility code for systems lacking "splice" support via the -# "sleepy_penguin" 3.5+ RubyGem. Used only by -player +# compatibility code for non-Linux systems lacking "splice" support. +# Used only by -player module DTAS::Buffer::ReadWrite # :nodoc: MAX_AT_ONCE = 512 # min PIPE_BUF value in POSIX attr_accessor :buffer_size |