ruby-changes:28376
From: headius <ko1@a...>
Date: Wed, 24 Apr 2013 05:29:34 +0900 (JST)
Subject: [ruby-changes:28376] headius:r40428 (trunk): * Typo in defining EWOULDBLOCKWaitReadable on platforms where
headius 2013-04-24 05:29:24 +0900 (Wed, 24 Apr 2013) New Revision: 40428 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40428 Log: * Typo in defining EWOULDBLOCKWaitReadable on platforms where EAGAIN != EWOULDBLOCK. Modified files: trunk/io.c Index: io.c =================================================================== --- io.c (revision 40427) +++ io.c (revision 40428) @@ -11730,7 +11730,7 @@ Init_IO(void) https://github.com/ruby/ruby/blob/trunk/io.c#L11730 rb_eEWOULDBLOCKWaitWritable = rb_eEAGAINWaitWritable; rb_define_const(rb_cIO, "EWOULDBLOCKWaitWritable", rb_eEAGAINWaitWritable); #else - rb_eEWOULDBLOCKWaitReadable = rb_define_class_under(rb_cIO, "EWOULDBLOCKRWaiteadable", rb_eEWOULDBLOCK); + rb_eEWOULDBLOCKWaitReadable = rb_define_class_under(rb_cIO, "EWOULDBLOCKRWaitReadable", rb_eEWOULDBLOCK); rb_include_module(rb_eEWOULDBLOCKWaitReadable, rb_mWaitReadable); rb_eEWOULDBLOCKWaitWritable = rb_define_class_under(rb_cIO, "EWOULDBLOCKWaitWritable", rb_eEWOULDBLOCK); rb_include_module(rb_eEWOULDBLOCKWaitWritable, rb_mWaitWritable); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/