#gets does not return nil when a UNIXSocket is closed
-----------------------------------------------------
Key: JRUBY-3139
URL: http://jira.codehaus.org/browse/JRUBY-3139
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.5
Reporter: Paul Brannan
Assignee: Thomas E Enebo
[EMAIL PROTECTED]:~/tmp> cat test2.rb
require 'socket'
r, w = UNIXSocket.pair
t = Thread.new { p r.gets }
w.close
t.join
[EMAIL PROTECTED]:~/tmp> ruby test2.rb
nil
[EMAIL PROTECTED]:~/tmp> jruby test2.rb
<hangs>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email