UNIXSocket#close_read and #close_write are not implemented
----------------------------------------------------------
Key: JRUBY-4274
URL: http://jira.codehaus.org/browse/JRUBY-4274
Project: JRuby
Issue Type: Bug
Environment: OS X Snow Leopard
Reporter: Hongli Lai
Assignee: Thomas E Enebo
Attachments: 0001-Implement-UNIXSocket-close_read-and-close_write.patch
#close_read and #close_write are implemented for all IO objects but not for
UNIXSocket. This patch not only implements UNIXSocket#close_read and
#close_write, but also makes #close_read and #close_write raise a
NotImplementedError for socket types that do not implement #close_read and
#close_write (none at the moment).
Incidentally, while creating this patch, I also discovered that UNIXSocket#read
is bugged. I'm filing a separate issue for that. This patch doesn't work until
the other issue is solved too.
RubySpec:
http://github.com/rubyspec/rubyspec/commit/e3735d59fd050a565abffa8f22020d4696f2fb07
--
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