1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
kosaki 2011-04-29 01:29:22 +00:00
parent 85c1d5d41d
commit e4ba4b79b6
2 changed files with 5 additions and 3 deletions

View file

@ -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>
* io.c (make_writeconv): do not add textmode newline decorator if any

View file

@ -85,9 +85,6 @@ rb_clear_cache_by_class(VALUE klass)
{
struct cache_entry *ent, *end;
if (RCLASS_M_TBL(klass)->num_entries == 0)
return;
rb_vm_change_state();
if (!ruby_running)