diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 06:37:46 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-08 06:37:46 +0000 |
commit | 9c574383a430c815406fb343e9adba18e348b5a3 (patch) | |
tree | 4c4a826810bfa165017a86b763bc716e24195981 /eval_safe.h | |
parent | 522f948a0ce5caaf3a44c06045a439c190d8f861 (diff) | |
download | ruby-9c574383a430c815406fb343e9adba18e348b5a3.tar.gz |
* blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,
eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,
thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,
vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
fix typo (rb_thead_t -> rb_thread_t).
* eval_intern.h: remove unused definitions.
* common.mk: fix around vm_opts.h path
and remove harmful argument passed to insns2vm.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_safe.h')
-rw-r--r-- | eval_safe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval_safe.h b/eval_safe.h index 76cb059ee5..0566335bee 100644 --- a/eval_safe.h +++ b/eval_safe.h @@ -36,7 +36,7 @@ static void safe_setter _((VALUE val)); void rb_set_safe_level(int level) { - rb_thead_t *th = GET_THREAD(); + rb_thread_t *th = GET_THREAD(); if (level > th->safe_level) { if (level > SAFE_LEVEL_MAX) { @@ -56,7 +56,7 @@ static void safe_setter(VALUE val) { int level = NUM2INT(val); - rb_thead_t *th = GET_THREAD(); + rb_thread_t *th = GET_THREAD(); if (level < th->safe_level) { rb_raise(rb_eSecurityError, |