aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-16 01:12:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-16 01:12:09 +0000
commitc27920c1a9e8f6aa84caff98b5202baf71c8f957 (patch)
tree6774e5a99e7a96436f5e1025a28392f22d829ab8 /spec
parent220a9924a592fd663ace4ca3c9dd16fb674c7a14 (diff)
downloadruby-c27920c1a9e8f6aa84caff98b5202baf71c8f957.tar.gz
fix chomping newline only line
* string.c (chomp_newline): fix chomping newline only line. rb_enc_prev_char return NULL if no previous character and must not call rb_enc_ascget on it. a patch by Ary Borenszweig <asterite AT gmail.com> at [ruby-core:78666]. [Bug #13037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions