#519 √ resolved
Adam Wiggins

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

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 »

People watching this ticket

Attachments

Tags