mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* string.c (rb_fstring): fix condition (easy to cause infinite loop!).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
32dcb81d58
commit
7bfaa467ce
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Aug 22 20:23:54 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* string.c (rb_fstring): fix condition (easy to cause infinite loop!).
|
||||
|
||||
Fri Aug 22 20:07:43 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* string.c (rb_fstring, fstr_update_callback): simply delete garbage
|
||||
|
@ -17,7 +21,7 @@ Fri Aug 22 19:30:39 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
|||
|
||||
Fri Aug 22 19:25:28 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* test/ruby/test_complex.rb: fixed broken tests. Math is not
|
||||
* test/ruby/test_complex.rb: fixed broken tests. Math is nota
|
||||
compatible CMath now.
|
||||
|
||||
Fri Aug 22 15:36:09 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
|
2
string.c
2
string.c
|
@ -232,7 +232,7 @@ rb_fstring(VALUE str)
|
|||
do {
|
||||
ret = str;
|
||||
st_update(frozen_strings, (st_data_t)str, fstr_update_callback, (st_data_t)&ret);
|
||||
} while (ret != Qundef);
|
||||
} while (ret == Qundef);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue