diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-21 08:48:05 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-21 08:48:05 +0000 |
commit | 062351e6bb492d206c305840f4a69c70efcb5131 (patch) | |
tree | 7573699c85deee5831cc5538b2f53ce47ed91011 /eval.c | |
parent | 564c80b10a116c49ac0dbcfe620e3f776c0d3845 (diff) | |
download | ruby-062351e6bb492d206c305840f4a69c70efcb5131.tar.gz |
* error.c (syserr_initialize): prohibit specifying errno for
subclasses of SystemCallError. in addition, if initialize is
called for SystenCallError instance, its class be changed.
[ruby-dev:20257]
* gc.c (run_final): to protect thread context switch, finalizers
are wrapped in DEFER_INTS/ENABLE_INTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -7982,7 +7982,6 @@ rb_thread_save_context(th) th->stk_pos = (rb_gc_stack_start<pos)?rb_gc_stack_start :rb_gc_stack_start - len; if (len > th->stk_max) { - rb_gc(); REALLOC_N(th->stk_ptr, VALUE, len); th->stk_max = len; } |