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

merges r27848 from trunk into ruby_1_9_2.

--
* eval.c (setup_exception): let SystemStackError#backtrace return an
  single element array instead of string itself.  [ruby-core:30196]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2010-05-23 10:24:29 +00:00
parent 7e94a8d2d8
commit fca68886de
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Sun May 16 22:17:35 2010 Yusuke Endoh <mame@tsg.ne.jp>
* eval.c (setup_exception): let SystemStackError#backtrace return an
single element array instead of string itself. [ruby-core:30196]
Sun May 23 17:29:41 2010 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* common.mk (capi): uses a timestamp file to get rid of

1
eval.c
View file

@ -380,6 +380,7 @@ setup_exception(rb_thread_t *th, int tag, volatile VALUE mesg)
if (file && !NIL_P(mesg)) {
if (mesg == sysstack_error) {
at = rb_enc_sprintf(rb_usascii_encoding(), "%s:%d", file, line);
at = rb_ary_new3(1, at);
rb_iv_set(mesg, "bt", at);
}
else {