Skip to content

Commit 348e55c

Browse files
committed
merge revision(s) r46876: [Backport ruby#10039]
* io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does not move the pointer at open. [ruby-core:63747] [Bug ruby#10039] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent b8db23a commit 348e55c

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu Sep 4 00:29:10 2014 Nobuyoshi Nakada <[email protected]>
2+
3+
* io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
4+
not move the pointer at open. [ruby-core:63747] [Bug #10039]
5+
16
Thu Sep 4 00:23:15 2014 Nobuyoshi Nakada <[email protected]>
27

38
* sprintf.c (GETASTER): should not use the numbered argument to be

io.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7274,12 +7274,12 @@ rb_io_stdio_file(rb_io_t *fptr)
72747274
* "w+" Read-write, truncates existing file to zero length
72757275
* or creates a new file for reading and writing.
72767276
*
7277-
* "a" Write-only, starts at end of file if file exists,
7278-
* otherwise creates a new file for writing.
7277+
* "a" Write-only, each write call appends data at end of file.
7278+
* Creates a new file for writing if file does not exist.
72797279
*
7280-
* "a+" Read-write, starts at end of file if file exists,
7281-
* otherwise creates a new file for reading and
7282-
* writing.
7280+
* "a+" Read-write, each write call appends data at end of file.
7281+
* Creates a new file for reading and writing if file does
7282+
* not exist.
72837283
*
72847284
* The following modes must be used separately, and along with one or more of
72857285
* the modes seen above.

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#define RUBY_VERSION "2.1.2"
22
#define RUBY_RELEASE_DATE "2014-09-04"
3-
#define RUBY_PATCHLEVEL 220
3+
#define RUBY_PATCHLEVEL 221
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 9

0 commit comments

Comments
 (0)