ruby: use 'readpartial' instead of 'sysread' if !io.respond_to?(:sysread)

This commit is contained in:
frsyuki
2010-03-31 12:00:26 +09:00
parent f7bdda8828
commit fcce8f6d51
2 changed files with 22 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
/*
* MessagePack for Ruby packing routine
*
* Copyright (C) 2008-2009 FURUHASHI Sadayuki
* Copyright (C) 2008-2010 FURUHASHI Sadayuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.