[MLton-commit] r7169

Matthew Fluet fluet at mlton.org
Wed Jun 17 16:02:38 PDT 2009


Contrary to the comment, there was no corresponding test in the Basis Library.  Seems better to keep things simple; in any case, doesn't affect the reported exit status.
----------------------------------------------------------------------

U   mlton/trunk/runtime/platform/windows.c

----------------------------------------------------------------------

Modified: mlton/trunk/runtime/platform/windows.c
===================================================================
--- mlton/trunk/runtime/platform/windows.c	2009-06-17 22:38:59 UTC (rev 7168)
+++ mlton/trunk/runtime/platform/windows.c	2009-06-17 23:02:38 UTC (rev 7169)
@@ -423,11 +423,7 @@
         HANDLE h;
 
         h = (HANDLE)pid;
-        /* We terminate with 'sig' for the _return_ code + 0x80
-         * Then in the basis library I test for this to decide W_SIGNALED.
-         * Perhaps not the best choice, but I have no better idea.
-         */
-        unless (TerminateProcess (h, sig | 0x80)) {
+        unless (TerminateProcess (h, sig)) {
                 errno = ECHILD;
                 return -1;
         }




More information about the MLton-commit mailing list