From d2f240d7ea11738ba889668a669ffb7845d06e7b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 6 Jul 2010 09:58:40 +0000 Subject: fix string slicing under 1.9 after short writes Fortunately this only affects the hardly-used FiberSpawn and FiberPool concurrency models, and also unreleased revisions of Rev. 1.9 encoding is tricky to handle right when doing I/O in Ruby... --- lib/rainbows.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/rainbows.rb') diff --git a/lib/rainbows.rb b/lib/rainbows.rb index 906806f..b1ec220 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -122,4 +122,5 @@ module Rainbows end # :startdoc: autoload :Fiber, 'rainbows/fiber' # core class + autoload :ByteSlice, 'rainbows/byte_slice' end -- cgit v1.2.3-24-ge0c7