diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-23 03:23:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-23 03:23:28 +0000 |
commit | 53d5f865e65ce7f40b986f3d77f0b99d1ffab38b (patch) | |
tree | 1e26d10ad114b7ecda1476a39935a6847f48b5db /eval.c | |
parent | f56a2c72939e8caacbfc87f12fba49b55d4dcaa9 (diff) | |
download | ruby-53d5f865e65ce7f40b986f3d77f0b99d1ffab38b.tar.gz |
eval_error.c: reuse threadptr
* eval_error.c (error_print, error_handle): reuse same threadptr
by passing as an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ ruby_init(void) int state = ruby_setup(); if (state) { if (RTEST(ruby_debug)) - error_print(); + error_print(GET_THREAD()); exit(EXIT_FAILURE); } } |