ruby-changes:35416
From: usa <ko1@a...>
Date: Wed, 10 Sep 2014 12:08:20 +0900 (JST)
Subject: [ruby-changes:35416] usa:r47498 (ruby_2_0_0): merge revision(s) 46876: [Backport #10039]
usa 2014-09-10 12:08:11 +0900 (Wed, 10 Sep 2014) New Revision: 47498 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47498 Log: merge revision(s) 46876: [Backport #10039] * io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does not move the pointer at open. [ruby-core:63747] [Bug #10039] Modified directories: branches/ruby_2_0_0/ Modified files: branches/ruby_2_0_0/ChangeLog branches/ruby_2_0_0/io.c branches/ruby_2_0_0/version.h Index: ruby_2_0_0/ChangeLog =================================================================== --- ruby_2_0_0/ChangeLog (revision 47497) +++ ruby_2_0_0/ChangeLog (revision 47498) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1 +Wed Sep 10 12:06:27 2014 Nobuyoshi Nakada <nobu@r...> + + * io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does + not move the pointer at open. [ruby-core:63747] [Bug #10039] + Wed Sep 10 11:50:26 2014 Nobuyoshi Nakada <nobu@r...> * sprintf.c (GETASTER): should not use the numbered argument to be Index: ruby_2_0_0/io.c =================================================================== --- ruby_2_0_0/io.c (revision 47497) +++ ruby_2_0_0/io.c (revision 47498) @@ -7212,12 +7212,12 @@ rb_io_stdio_file(rb_io_t *fptr) https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/io.c#L7212 * "w+" Read-write, truncates existing file to zero length * or creates a new file for reading and writing. * - * "a" Write-only, starts at end of file if file exists, - * otherwise creates a new file for writing. + * "a" Write-only, each write call appends data at end of file. + * Creates a new file for writing if file does not exist. * - * "a+" Read-write, starts at end of file if file exists, - * otherwise creates a new file for reading and - * writing. + * "a+" Read-write, each write call appends data at end of file. + * Creates a new file for reading and writing if file does + * not exist. * * The following modes must be used separately, and along with one or more of * the modes seen above. Index: ruby_2_0_0/version.h =================================================================== --- ruby_2_0_0/version.h (revision 47497) +++ ruby_2_0_0/version.h (revision 47498) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1 #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2014-09-10" -#define RUBY_PATCHLEVEL 559 +#define RUBY_PATCHLEVEL 560 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 9 Property changes on: ruby_2_0_0 ___________________________________________________________________ Modified: svn:mergeinfo Merged /trunk:r46876 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/