diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-24 23:04:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-24 23:04:04 +0000 |
commit | 91b24525983f466ac8b293790a066f45e4880067 (patch) | |
tree | 6920d4fa7298cba74295b6d8c442ace064165734 /eval.c | |
parent | c94a13f8e34a4cf49b9a28a619d0e465cbbb9fcc (diff) | |
download | ruby-91b24525983f466ac8b293790a066f45e4880067.tar.gz ruby-91b24525983f466ac8b293790a066f45e4880067.tar.xz ruby-91b24525983f466ac8b293790a066f45e4880067.zip |
* eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1078,7 +1078,7 @@ get_backtrace(info) VALUE info; { if (NIL_P(info)) return Qnil; - return rb_funcall(info, rb_intern("backtrace"), 0); + return rb_check_array_type(rb_funcall(info, rb_intern("backtrace"), 0)); } static void |