ChangeLog in kgio-1.3.0.1.gd225 vs ChangeLog in kgio-1.3.1
- old
+ new
@@ -1,6 +1,17 @@
ChangeLog from git://git.bogomips.org/kgio.git ()
+ commit f4d08a07a02393cca5ddd1277acc4f95c83307ff
+ Author: Eric Wong <e@yhbt.net>
+ Date: Fri Oct 8 14:55:16 2010 -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.
+
commit d225ede82d820d045bd7cfb826f444cf6601577c
Author: Eric Wong <normalperson@yhbt.net>
Date: Fri Oct 8 02:53:38 2010 -0700
return empty string on length=0