summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-10 03:08:11 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-10 03:08:11 +0000
commit53c0a52d7d3bbd1e2ad1ff3f0e6d9f59cfb9f08f (patch)
tree8b24ad08bdcd1fd50a8c8a9f21d5ca64e8afebac
parentae6d24859a733b8808f7b2d48b53146a4367f3e8 (diff)
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--io.c10
-rw-r--r--version.h2
3 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 6334d5dd70..28f6438337 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Sep 10 12:06:27 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* sprintf.c (GETASTER): should not use the numbered argument to be
diff --git a/io.c b/io.c
index 48ab45569e..26d46c54c3 100644
--- a/io.c
+++ b/io.c
@@ -7212,12 +7212,12 @@ rb_io_stdio_file(rb_io_t *fptr)
* "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.
diff --git a/version.h b/version.h
index 3a92dbff0f..ff4e52aa03 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
#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