[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: [ ruby-Bugs-7150 ] Exceptions raised during 'at_exit' hooks produce inaccurate messages

From: "Nobuyoshi Nakada" <nobu@...>
Date: 2006-12-08 02:50:58 UTC
List: ruby-core #9678
Hi,

At Fri, 8 Dec 2006 01:42:53 +0900,
Wilson Bilkovich (wilson) wrote in [ruby-core:09675]:
> The code in the at_exit block appears to step on the error raised earlier.

Indeed.

# `patch -l' for 1.8.


Index: eval.c
===================================================================
RCS file: /pub/cvs/ruby/eval.c,v
retrieving revision 1.959
diff -U 2 -p -r1.959 eval.c
--- eval.c	4 Dec 2006 15:19:33 -0000	1.959
+++ eval.c	8 Dec 2006 01:46:41 -0000
@@ -1554,5 +1554,4 @@ ruby_cleanup(int ex)
     if ((state = EXEC_TAG()) == 0) {
 	ruby_finalize_0();
-	if (ruby_errinfo) err = ruby_errinfo;
 	rb_thread_cleanup();
 	rb_thread_wait_other_threads();


-- 
Nobu Nakada


In This Thread