diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 14:27:09 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 14:27:09 +0000 |
commit | cbbc06dcf78ab65c60261805504d5a1adda9462c (patch) | |
tree | 8108d76db4de198a04f75d4fe64f7bf0c9e4518a /thread.c | |
parent | 18d4c1f044a4422fde5dde381e0812296bf2b619 (diff) | |
download | ruby-cbbc06dcf78ab65c60261805504d5a1adda9462c.tar.gz |
* eval.c (ruby_finalize_0): clear trace_func after executing END
procs.
* thread.c: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2817,7 +2817,7 @@ rb_exec_recursive(VALUE (*func) (VALUE, VALUE, int), VALUE obj, VALUE arg) /* tracer */ static rb_event_hook_t * -alloc_event_fook(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data) +alloc_event_hook(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data) { rb_event_hook_t *hook = ALLOC(rb_event_hook_t); hook->func = func; @@ -2842,7 +2842,7 @@ void rb_thread_add_event_hook(rb_thread_t *th, rb_event_hook_func_t func, rb_event_flag_t events, VALUE data) { - rb_event_hook_t *hook = alloc_event_fook(func, events, data); + rb_event_hook_t *hook = alloc_event_hook(func, events, data); hook->next = th->event_hooks; th->event_hooks = hook; thread_reset_event_flags(th); @@ -2873,7 +2873,7 @@ set_threads_event_flags(int flag) void rb_add_event_hook(rb_event_hook_func_t func, rb_event_flag_t events, VALUE data) { - rb_event_hook_t *hook = alloc_event_fook(func, events, data); + rb_event_hook_t *hook = alloc_event_hook(func, events, data); rb_vm_t *vm = GET_VM(); hook->next = vm->event_hooks; |