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/unix_accepted.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/dtas/unix_accepted.rb') diff --git a/lib/dtas/unix_accepted.rb b/lib/dtas/unix_accepted.rb index be344c7..6658406 100644 --- a/lib/dtas/unix_accepted.rb +++ b/lib/dtas/unix_accepted.rb @@ -2,6 +2,7 @@ # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt) require 'socket' require 'io/wait' +require_relative 'compat_rbx' class DTAS::UNIXAccepted # :nodoc: attr_reader :to_io -- cgit v1.2.3-24-ge0c7