From f4dcfabd826ce8a43b9d4c41706fa8b95fb81acd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 12 Oct 2013 21:32:44 +0000 Subject: IO#nread compatibility for Rubinius (Linux-only) We don't deal with user-space buffers, so we should be fine using this compatibility layer and only checking the kernel buffers (until rbx implements a proper solution). --- lib/dtas/buffer.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/dtas/buffer.rb') diff --git a/lib/dtas/buffer.rb b/lib/dtas/buffer.rb index c0ba6a6..f2b0240 100644 --- a/lib/dtas/buffer.rb +++ b/lib/dtas/buffer.rb @@ -1,6 +1,8 @@ # Copyright (C) 2013, Eric Wong and all contributors # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) +require 'io/wait' require_relative '../dtas' +require_relative 'compat_rbx' # IO#nread class DTAS::Buffer # :nodoc: begin -- cgit v1.2.3-24-ge0c7