* vm_method.c (rb_clear_cache_by_class): Revert r29673. It made
a segmentation fault regression. [Bug #4289][ruby-core:34554]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
85c1d5d41d
commit
e4ba4b79b6
@ -1,3 +1,8 @@
|
|||||||
|
Fri Apr 29 10:25:31 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* vm_method.c (rb_clear_cache_by_class): Revert r29673. It made
|
||||||
|
a segmentation fault regression. [Bug #4289][ruby-core:34554].
|
||||||
|
|
||||||
Fri Apr 29 10:24:51 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Apr 29 10:24:51 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* io.c (make_writeconv): do not add textmode newline decorator if any
|
* io.c (make_writeconv): do not add textmode newline decorator if any
|
||||||
|
@ -85,9 +85,6 @@ rb_clear_cache_by_class(VALUE klass)
|
|||||||
{
|
{
|
||||||
struct cache_entry *ent, *end;
|
struct cache_entry *ent, *end;
|
||||||
|
|
||||||
if (RCLASS_M_TBL(klass)->num_entries == 0)
|
|
||||||
return;
|
|
||||||
|
|
||||||
rb_vm_change_state();
|
rb_vm_change_state();
|
||||||
|
|
||||||
if (!ruby_running)
|
if (!ruby_running)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user