[#1147] Copying RVALUE — why the lucky stiff <ruby-core@...>

Hello, everyone. Hope you are all doing well.

18 messages 2003/06/17
[#1155] Re: Copying RVALUE — matz@... (Yukihiro Matsumoto) 2003/06/20

Hi,

[#1157] Re: Copying RVALUE — why the lucky stiff <ruby-core@...> 2003/06/20

Yukihiro Matsumoto (matz@ruby-lang.org) wrote:

[#1173] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...>

Hi, I'm new to this mailing list so I don't know the procedure for

15 messages 2003/06/22
[#1174] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1175] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/22

On Sun, 2003-06-22 at 05:36, nobu.nokada@softhome.net wrote:

[#1176] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — nobu.nokada@... 2003/06/22

Hi,

[#1193] Re: [Patch] class.c code cleanup (rb_class_*_instance_methods) — Matthew Dempsky <jivera@...> 2003/06/25

On Sun, 2003-06-22 at 07:41, nobu.nokada@softhome.net wrote:

[#1177] Re: In 1.8.0 nil.to_s is not the same as "" — ts <decoux@...>

14 messages 2003/06/22

Re: [1.8] Exception::new

From: nobu.nokada@...
Date: 2003-06-06 02:46:37 UTC
List: ruby-core #1131
Hi,

At Fri, 6 Jun 2003 00:01:54 +0900,
nobu.nokada@softhome.net wrote:
> Index: eval.c
> ===================================================================
> RCS file: //sharui/cvs/ruby/src/ruby/eval.c,v
> retrieving revision 1.454
> diff -u -2 -p -r1.454 eval.c
> --- eval.c	5 Jun 2003 06:40:42 -0000	1.454
> +++ eval.c	5 Jun 2003 14:58:16 -0000

Sorry, this wasn't enough.


--- eval.c.orig	Thu Jun  5 14:58:16 2003
+++ eval.c	Fri Jun  6 02:44:32 2003
@@ -1224,8 +1224,16 @@ static void rb_thread_cleanup _((void));
 static void rb_thread_wait_other_threads _((void));
 
+static int thread_set_raised();
+static void thread_reset_raised();
+
+static VALUE exception_error;
+static VALUE sysstack_error;
+
 static int
 error_handle(ex)
     int ex;
 {
+    if (thread_set_raised()) return 1;
+
     switch (ex & TAG_MASK) {
       case 0:
@@ -1285,4 +1293,5 @@ error_handle(ex)
 	break;
     }
+    thread_reset_raised();
     return ex;
 }
@@ -3840,10 +3849,4 @@ NORETURN(static void rb_longjmp _((int, 
 static VALUE make_backtrace _((void));
 
-static int thread_set_raised();
-static void thread_reset_raised();
-
-static VALUE exception_error;
-static VALUE sysstack_error;
-
 static void
 rb_longjmp(tag, mesg)


-- 
Nobu Nakada

In This Thread