v1.3.1
tagd1c0f4a5bcd5ebba0ec0c489ee1518ed4caa9612
object f4d08a07a02393cca5ddd1277acc4f95c83307ff
authorEric Wong <e@yhbt.net>
Fri, 8 Oct 2010 22:20:24 +0000 (8 15:20 -0700)
kgio 1.3.1 - fix zero-length reads

kgio_read and kgio_tryread will now return an empty string when
a length of zero is specified instead of nil (which would signal
an EOF).  This emulates the behavior of IO#read, IO#readpartial,
IO#sysread, IO#read_nonblock in core Ruby for consistency.