diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-16 01:53:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-16 01:53:15 +0000 |
commit | 29159b0212030d723a0083528b00e826fe36acc4 (patch) | |
tree | 584fe1b879119f70957b5f060192f59bbc007afa /process.c | |
parent | 2d62b9f2c5cc96e22d528fbbc1730ceaee3acd83 (diff) | |
download | ruby-29159b0212030d723a0083528b00e826fe36acc4.tar.gz |
removed ruby_error_print
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3857,8 +3857,10 @@ rb_f_abort(int argc, const VALUE *argv) { rb_check_arity(argc, 0, 1); if (argc == 0) { - if (!NIL_P(GET_THREAD()->errinfo)) { - ruby_error_print(); + rb_thread_t *th = GET_THREAD(); + VALUE errinfo = th->errinfo; + if (!NIL_P(errinfo)) { + rb_threadptr_error_print(th, errinfo); } rb_exit(EXIT_FAILURE); } |