[ruby-cvs:68809] naruse:r61628 (ruby_2_5): merge revision(s) 61513: [Backport #14257]

naruse at ruby-lang.org naruse at ruby-lang.org
Sat Jan 6 05:39:03 JST 2018


naruse	2018-01-06 05:39:03 +0900 (Sat, 06 Jan 2018)

  New Revision: 61628

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

  Log:
    merge revision(s) 61513: [Backport #14257]
    
    string.c: chomp rs at the end
    
    * string.c (rb_str_enumerate_lines): should chomp record separator
      only, but not a newline, at the end of the receiver as well as
      middle, if the separator is given.
      [ruby-core:84552] [Bug #14257]

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


More information about the ruby-cvs mailing list