return empty string on length=0
commitd225ede82d820d045bd7cfb826f444cf6601577c
authorEric Wong <normalperson@yhbt.net>
Fri, 8 Oct 2010 09:53:38 +0000 (8 02:53 -0700)
committerEric Wong <e@yhbt.net>
Fri, 8 Oct 2010 09:58:58 +0000 (8 09:58 +0000)
tree1515ff26c7645a643048359827e61191c189095e
parente4599227f0da0f652cbcb52838e631d7384dcd0d
return empty string on length=0

This matches behavior of all the core Ruby methods.
ext/kgio/read_write.c
test/lib_read_write.rb