[ruby-cvs:69955] usa:r62818 (ruby_2_3): merge revision(s) 60000, 60001, 60002: [Backport #13925]

usa at ruby-lang.org usa at ruby-lang.org
Mon Mar 19 00:00:46 JST 2018


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

  New Revision: 62818

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

  Log:
    merge revision(s) 60000,60001,60002: [Backport #13925]
    
    dup String#partition return value
    
    * string.c (rb_str_partition): return duplicated receiver, when no
      splits.  [ruby-core:82911] [Bug#13925]
    
    Author:    Seiei Miyagi <hanachin at gmail.com>
    
    dup String#rpartition return value
    
    * string.c (rb_str_rpartition): return duplicated receiver, when
      no splits.  [ruby-core:82911] [Bug#13925]
    
    Author:    Seiei Miyagi <hanachin at gmail.com>
    
    dup String#split return value
    
    * string.c (rb_str_split): return duplicated receiver, when no
      splits.  patched by tompng (tomoya ishida) in [ruby-core:82911],
      and the test case by Seiei Miyagi <hanachin at gmail.com>.
      [Bug#13925] [Fix GH-1705]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/string.c
    branches/ruby_2_3/test/ruby/test_string.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list