[前][次][番号順一覧][スレッド一覧]

ruby-changes:16021

From: yugui <ko1@a...>
Date: Sun, 23 May 2010 19:24:50 +0900 (JST)
Subject: [ruby-changes:16021] Ruby:r27969 (ruby_1_9_2): merges r27848 from trunk into ruby_1_9_2.

yugui	2010-05-23 19:24:29 +0900 (Sun, 23 May 2010)

  New Revision: 27969

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27969

  Log:
    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]

  Modified files:
    branches/ruby_1_9_2/ChangeLog
    branches/ruby_1_9_2/eval.c

Index: ruby_1_9_2/ChangeLog
===================================================================
--- ruby_1_9_2/ChangeLog	(revision 27968)
+++ ruby_1_9_2/ChangeLog	(revision 27969)
@@ -1,3 +1,8 @@
+Sun May 16 22:17:35 2010  Yusuke Endoh  <mame@t...>
+
+	* 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@y...>
 
 	* common.mk (capi): uses a timestamp file to get rid of 
Index: ruby_1_9_2/eval.c
===================================================================
--- ruby_1_9_2/eval.c	(revision 27968)
+++ ruby_1_9_2/eval.c	(revision 27969)
@@ -380,6 +380,7 @@
     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 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]