[前][次][番号順一覧][スレッド一覧]

ruby-changes:50660

From: usa <ko1@a...>
Date: Mon, 19 Mar 2018 00:21:44 +0900 (JST)
Subject: [ruby-changes:50660] usa:r62823 (ruby_2_3): merge revision(s) 60294: [Backport #11638]

usa	2018-03-19 00:21:39 +0900 (Mon, 19 Mar 2018)

  New Revision: 62823

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62823

  Log:
    merge revision(s) 60294: [Backport #11638]
    
    Clarify the behavior of IO.write without offset in write mode.
    
      https://github.com/ruby/ruby/pull/1571
    
      Patch by @takanabe [fix GH-1571]
      [Bug #11638][ruby-core:71277]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/io.c
    branches/ruby_2_3/version.h
Index: ruby_2_3/io.c
===================================================================
--- ruby_2_3/io.c	(revision 62822)
+++ ruby_2_3/io.c	(revision 62823)
@@ -10023,8 +10023,8 @@ io_s_write(int argc, VALUE *argv, int bi https://github.com/ruby/ruby/blob/trunk/ruby_2_3/io.c#L10023
  *  Opens the file, optionally seeks to the given <i>offset</i>, writes
  *  <i>string</i>, then returns the length written.
  *  <code>write</code> ensures the file is closed before returning.
- *  If <i>offset</i> is not given, the file is truncated.  Otherwise,
- *  it is not truncated.
+ *  If <i>offset</i> is not given in write mode, the file is truncated.
+ *  Otherwise, it is not truncated.
  *
  *  If the last argument is a hash, it specifies option for internal
  *  open().  The key would be the following.  open_args: is exclusive
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 62822)
+++ ruby_2_3/version.h	(revision 62823)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.7"
 #define RUBY_RELEASE_DATE "2018-03-19"
-#define RUBY_PATCHLEVEL 423
+#define RUBY_PATCHLEVEL 424
 
 #define RUBY_RELEASE_YEAR 2018
 #define RUBY_RELEASE_MONTH 3
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 62822)
+++ ruby_2_3/ChangeLog	(revision 62823)
@@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Mon Mar 19 00:21:00 2018  SHIBATA Hiroshi  <hsbt@r...>
+
+	Clarify the behavior of IO.write without offset in write mode.
+
+	https://github.com/ruby/ruby/pull/1571
+
+	Patch by takanabe (Takayuki Watanabe) [fix GH-1571]
+	[Bug #11638]
+
 Mon Mar 19 00:16:28 2018  Nobuyoshi Nakada  <nobu@r...>
 
 	parse.y: token info with BOM
Index: ruby_2_3
===================================================================
--- ruby_2_3	(revision 62822)
+++ ruby_2_3	(revision 62823)

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
   Merged /trunk:r60294

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]