Socket#syswrite (the non-buffered one) raises SystemCallError on broken pipe
----------------------------------------------------------------------------
Key: JRUBY-5876
URL: http://jira.codehaus.org/browse/JRUBY-5876
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6
Environment: OSX 10.6
Reporter: Pieter Noordhuis
Priority: Minor
Attachments: jruby_socket_write.rb
Both Socket#write and Socket#syswrite raise Errno::EPIPE on a broken pipe, but
JRuby raises a SystemCallError for Socket#syswrite. The exception on a broken
pipe for the buffered write (Socket#write) is correct. This behavior can be
reproduced with the attached script.
--
This message is automatically generated by JIRA.
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