ruby-changes:36694
From: nobu <ko1@a...>
Date: Fri, 12 Dec 2014 08:16:17 +0900 (JST)
Subject: [ruby-changes:36694] nobu:r48775 (trunk): io.c: Fix spelling [ci skip]
nobu 2014-12-12 08:16:03 +0900 (Fri, 12 Dec 2014) New Revision: 48775 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48775 Log: io.c: Fix spelling [ci skip] * io.c (io_read) Fix spelling in docco for read. [Fix GH-781] try > tries Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 48774) +++ ChangeLog (revision 48775) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Dec 12 08:16:01 2014 Matt Hoyle <matt@d...> + + * io.c (io_read) Fix spelling in docco for read. [Fix GH-781] + try > tries + Thu Dec 11 19:06:01 2014 Koichi Sasada <ko1@a...> * class.c (class_alloc): Start from age == 2. Index: io.c =================================================================== --- io.c (revision 48774) +++ io.c (revision 48775) @@ -2805,7 +2805,7 @@ rb_io_write_nonblock(int argc, VALUE *ar https://github.com/ruby/ruby/blob/trunk/io.c#L2805 * <i>length</i> must be a non-negative integer or <code>nil</code>. * * If <i>length</i> is a positive integer, - * it try to read <i>length</i> bytes without any conversion (binary mode). + * it tries to read <i>length</i> bytes without any conversion (binary mode). * It returns <code>nil</code> or a string whose length is 1 to <i>length</i> bytes. * <code>nil</code> means it met EOF at beginning. * The 1 to <i>length</i>-1 bytes string means it met EOF after reading the result. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/