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

* thread.c (rb_threadptr_remove_event_hook): fix typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-10-08 23:16:20 +00:00
parent 9c06fa133e
commit 88533a5351
3 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,7 @@
Sat Oct 9 08:16:01 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (rb_threadptr_remove_event_hook): fix typo.
Fri Oct 8 10:52:25 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri Oct 8 10:52:25 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* common.mk (RBCONFIG): depends on version.h due to * common.mk (RBCONFIG): depends on version.h due to

View file

@ -3847,7 +3847,7 @@ remove_event_hook(rb_event_hook_t **root, rb_event_hook_func_t func)
} }
static int static int
rb_threadptr_revmove_event_hook(rb_thread_t *th, rb_event_hook_func_t func) rb_threadptr_remove_event_hook(rb_thread_t *th, rb_event_hook_func_t func)
{ {
int ret = remove_event_hook(&th->event_hooks, func); int ret = remove_event_hook(&th->event_hooks, func);
thread_reset_event_flags(th); thread_reset_event_flags(th);
@ -3857,7 +3857,7 @@ rb_threadptr_revmove_event_hook(rb_thread_t *th, rb_event_hook_func_t func)
int int
rb_thread_remove_event_hook(VALUE thval, rb_event_hook_func_t func) rb_thread_remove_event_hook(VALUE thval, rb_event_hook_func_t func)
{ {
return rb_threadptr_revmove_event_hook(thval2thread_t(thval), func); return rb_threadptr_remove_event_hook(thval2thread_t(thval), func);
} }
int int
@ -3879,7 +3879,7 @@ clear_trace_func_i(st_data_t key, st_data_t val, st_data_t flag)
{ {
rb_thread_t *th; rb_thread_t *th;
GetThreadPtr((VALUE)key, th); GetThreadPtr((VALUE)key, th);
rb_threadptr_revmove_event_hook(th, 0); rb_threadptr_remove_event_hook(th, 0);
return ST_CONTINUE; return ST_CONTINUE;
} }
@ -3994,7 +3994,7 @@ thread_set_trace_func_m(VALUE obj, VALUE trace)
{ {
rb_thread_t *th; rb_thread_t *th;
GetThreadPtr(obj, th); GetThreadPtr(obj, th);
rb_threadptr_revmove_event_hook(th, call_trace_func); rb_threadptr_remove_event_hook(th, call_trace_func);
if (NIL_P(trace)) { if (NIL_P(trace)) {
return Qnil; return Qnil;

View file

@ -1,11 +1,11 @@
#define RUBY_VERSION "1.9.3" #define RUBY_VERSION "1.9.3"
#define RUBY_RELEASE_DATE "2010-10-08" #define RUBY_RELEASE_DATE "2010-10-09"
#define RUBY_PATCHLEVEL -1 #define RUBY_PATCHLEVEL -1
#define RUBY_BRANCH_NAME "trunk" #define RUBY_BRANCH_NAME "trunk"
#define RUBY_RELEASE_YEAR 2010 #define RUBY_RELEASE_YEAR 2010
#define RUBY_RELEASE_MONTH 10 #define RUBY_RELEASE_MONTH 10
#define RUBY_RELEASE_DAY 8 #define RUBY_RELEASE_DAY 9
#include "ruby/version.h" #include "ruby/version.h"