ruby-changes:15628
From: nobu <ko1@a...>
Date: Thu, 29 Apr 2010 11:17:32 +0900 (JST)
Subject: [ruby-changes:15628] Ruby:r27539 (trunk): * io.c (rb_io_s_binread): fixed rdoc. parts of a patch from Roger
nobu 2010-04-29 11:17:12 +0900 (Thu, 29 Apr 2010) New Revision: 27539 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27539 Log: * io.c (rb_io_s_binread): fixed rdoc. parts of a patch from Roger Pack in [ruby-core:29861]. Modified files: trunk/ChangeLog trunk/io.c Index: ChangeLog =================================================================== --- ChangeLog (revision 27538) +++ ChangeLog (revision 27539) @@ -1,3 +1,8 @@ +Thu Apr 29 11:17:08 2010 Nobuyoshi Nakada <nobu@r...> + + * io.c (rb_io_s_binread): fixed rdoc. parts of a patch from Roger + Pack in [ruby-core:29861]. + Thu Apr 29 03:50:49 2010 James Edward Gray II <jeg2@r...> * lib/xmlrpc/utils.rb: Fixing an incompatibility with Index: io.c =================================================================== --- io.c (revision 27538) +++ io.c (revision 27539) @@ -7922,7 +7922,7 @@ * IO.read(name, [length [, offset]] ) => string * IO.read(name, [length [, offset]], open_args) => string * - * Opens the file, optionally seeks to the given offset, then returns + * Opens the file, optionally seeks to the given <i>offset</i>, then returns * <i>length</i> bytes (defaulting to the rest of the file). * <code>read</code> ensures the file is closed before returning. * @@ -7978,9 +7978,9 @@ * call-seq: * IO.binread(name, [length [, offset]] ) => string * - * Opens the file, optionally seeks to the given offset, then returns + * Opens the file, optionally seeks to the given <i>offset</i>, then returns * <i>length</i> bytes (defaulting to the rest of the file). - * <code>read</code> ensures the file is closed before returning. + * <code>binread</code> ensures the file is closed before returning. * The open mode would be "rb:ASCII-8BIT". * * IO.binread("testfile") #=> "This is line one\nThis is line two\nThis is line three\nAnd so on...\n" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/