[ruby-cvs:69828] nagachika:r62667 (ruby_2_4): merge revision(s) 60000, 60001, 60002: [Backport #13925]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Tue Mar 6 01:11:30 JST 2018


nagachika	2018-03-06 01:11:30 +0900 (Tue, 06 Mar 2018)

  New Revision: 62667

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

  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_4/
  Modified files:
    branches/ruby_2_4/string.c
    branches/ruby_2_4/test/ruby/test_string.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list