From: Luis Lavena <luislavena@...>
Date: 2008-05-19T03:50:50+09:00
Subject: Re: [PATCH] Kernel#system() do not last_status_set properly on Windows

It seems that previous message lost the patch:

Index: process.c
===================================================================
--- process.c	(revision 16458)
+++ process.c	(working copy)
@@ -1519,6 +1519,10 @@
     }
 #if !defined(_WIN32)
     last_status_set(status == -1 ? 127 : status, 0);
+#else
+    if (status == -1) {
+        last_status_set(0x7f << 8, 0);
+    }
 #endif
 #elif defined(__VMS)
     VALUE cmd;

-- 
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams