IO#write empty strings
Reported by Adam Wiggins | April 26th, 2008 @ 10:59 PM | in 1.0 preview
MRI returns 0 if you write an empty string, e.g. IO.new(2).write(''), but Rubinius was returning a nil, causing some network operations in the RestClient gem to fail. This patch includes a spec for the behavior and a fix for Rubinius' implementation.
Comments and changes to this ticket
-
Dirkjan Bussink April 27th, 2008 @ 04:22 AM
Committed in 4a1f394, you can refer to this ticket and this commit if you want commit access. Thnx!
-
Dirkjan Bussink April 27th, 2008 @ 07:05 AM
- → State changed from new to resolved
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
