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

ruby-changes:45954

From: nagachika <ko1@a...>
Date: Mon, 20 Mar 2017 05:38:43 +0900 (JST)
Subject: [ruby-changes:45954] nagachika:r58025 (ruby_2_3): merge revision(s) 57767, 57944: [Backport #10403]

nagachika	2017-03-20 05:38:37 +0900 (Mon, 20 Mar 2017)

  New Revision: 58025

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

  Log:
    merge revision(s) 57767,57944: [Backport #10403]
    
    io.c: documentation for puts
    
    * io.c: [DOC] clarify that the 'record separator' between
      arguments passed to 'puts' is always a newline.
      Based on a patch by Mark Amery. [ruby-core:65801] [Misc #10403]
    io.c: [DOC] IO#puts uses IO#write

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/io.c
    branches/ruby_2_3/version.h
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 58024)
+++ ruby_2_3/version.h	(revision 58025)
@@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.3"
-#define RUBY_RELEASE_DATE "2017-02-14"
-#define RUBY_PATCHLEVEL 246
+#define RUBY_RELEASE_DATE "2017-03-20"
+#define RUBY_PATCHLEVEL 247
 
 #define RUBY_RELEASE_YEAR 2017
-#define RUBY_RELEASE_MONTH 2
-#define RUBY_RELEASE_DAY 14
+#define RUBY_RELEASE_MONTH 3
+#define RUBY_RELEASE_DAY 20
 
 #include "ruby/version.h"
 
Index: ruby_2_3/io.c
===================================================================
--- ruby_2_3/io.c	(revision 58024)
+++ ruby_2_3/io.c	(revision 58025)
@@ -7080,11 +7080,13 @@ io_puts_ary(VALUE ary, VALUE out, int re https://github.com/ruby/ruby/blob/trunk/ruby_2_3/io.c#L7080
  *  call-seq:
  *     ios.puts(obj, ...)    -> nil
  *
- *  Writes the given objects to <em>ios</em> as with
- *  <code>IO#print</code>. Writes a record separator (typically a
- *  newline) after any that do not already end with a newline sequence.
+ *  Writes the given object(s) to <em>ios</em> as with <code>IO#write</code>.
+ *  Writes a newline after any that do not already end
+ *  with a newline sequence.
+ *
  *  If called with an array argument, writes each element on a new line.
- *  If called without arguments, outputs a single record separator.
+ *  If called without arguments, outputs a single newline.
+ *  This doesn't affect $/. ($RS or INPUT_RECORD_SEPARATOR in English.rb)
  *
  *     $stdout.puts("this", "is", "a", "test")
  *

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r57767,57944


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

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