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

ruby-changes:49044

From: sorah <ko1@a...>
Date: Tue, 12 Dec 2017 21:17:42 +0900 (JST)
Subject: [ruby-changes:49044] sorah:r61161 (trunk): error.c(rb_error_write): Remove ec_ from its name

sorah	2017-12-12 21:17:38 +0900 (Tue, 12 Dec 2017)

  New Revision: 61161

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61161

  Log:
    error.c(rb_error_write): Remove ec_ from its name
    
    It's unrelated to rb_execution_context_t during writing the patch
    r61154

  Modified files:
    trunk/error.c
    trunk/eval_error.c
Index: eval_error.c
===================================================================
--- eval_error.c	(revision 61160)
+++ eval_error.c	(revision 61161)
@@ -188,7 +188,7 @@ print_backtrace(const VALUE eclass, cons https://github.com/ruby/ruby/blob/trunk/eval_error.c#L188
 }
 
 void
-rb_ec_error_write(VALUE errinfo, VALUE errat, VALUE str)
+rb_error_write(VALUE errinfo, VALUE errat, VALUE str)
 {
     volatile VALUE eclass = Qundef, emesg = Qundef;
 
@@ -231,7 +231,7 @@ rb_ec_error_print(rb_execution_context_t https://github.com/ruby/ruby/blob/trunk/eval_error.c#L231
 	errat = rb_get_backtrace(errinfo);
     }
 
-    rb_ec_error_write(errinfo, errat, Qnil);
+    rb_error_write(errinfo, errat, Qnil);
 
     EC_POP_TAG();
     ec->errinfo = errinfo;
Index: error.c
===================================================================
--- error.c	(revision 61160)
+++ error.c	(revision 61161)
@@ -951,7 +951,7 @@ exc_to_s(VALUE exc) https://github.com/ruby/ruby/blob/trunk/error.c#L951
 }
 
 /* FIXME: Include eval_error.c */
-void rb_ec_error_write(VALUE errinfo, VALUE errat, VALUE str);
+void rb_error_write(VALUE errinfo, VALUE errat, VALUE str);
 
 /*
  * call-seq:
@@ -968,7 +968,7 @@ exc_full_message(VALUE exc) https://github.com/ruby/ruby/blob/trunk/error.c#L968
 {
     VALUE str = rb_str_new2("");
     VALUE errat = rb_get_backtrace(exc);
-    rb_ec_error_write(exc, errat, str);
+    rb_error_write(exc, errat, str);
     return str;
 }
 

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

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