[MLton-commit] r7182

Matthew Fluet fluet at mlton.org
Fri Jun 19 18:48:21 PDT 2009


use-mmap true is the new default.

All regressions except socket and textio.2 pass on x86-cygwin.  The
former is probably a Windows firewall issue; the latter is due to
behind-the-scenes CR/LF <=> LF conversions.  Also, echo raises a
Windows firewall allert, but passes.  (Oddly, it continues to pass
even if you tell Windows to block the application.)


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

U   mlton/trunk/bin/regression
U   mlton/trunk/runtime/platform.c

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

Modified: mlton/trunk/bin/regression
===================================================================
--- mlton/trunk/bin/regression	2009-06-19 20:22:14 UTC (rev 7181)
+++ mlton/trunk/bin/regression	2009-06-20 01:48:21 UTC (rev 7182)
@@ -149,21 +149,20 @@
                 fi
         fi
         case `host-os` in
-        cygwin|mingw)
+        cygwin)
                 case "$f" in
-                echo|signals|socket|suspend|textio.2|world*)
+                socket|textio.2)
                         continue
                 ;;
                 esac
         ;;
-        esac
-        case `host-os` in
         mingw)
                 case "$f" in
-                cmdline|command-line|filesys|posix-exit|signals2|unixpath)
+                cmdline|command-line|echo|filesys|posix-exit|signals|signals2|socket|suspend|textio.2|unixpath|world*)
                         continue
                 ;;
                 esac
+        ;;
         esac
         case "$f" in
         serialize)

Modified: mlton/trunk/runtime/platform.c
===================================================================
--- mlton/trunk/runtime/platform.c	2009-06-19 20:22:14 UTC (rev 7181)
+++ mlton/trunk/runtime/platform.c	2009-06-20 01:48:21 UTC (rev 7182)
@@ -7,7 +7,7 @@
 
 #include "platform.h"
 
-Bool MLton_Platform_CygwinUseMmap = FALSE;
+Bool MLton_Platform_CygwinUseMmap = TRUE;
 
 void GC_setCygwinUseMmap (bool b) {
   MLton_Platform_CygwinUseMmap = b;




More information about the MLton-commit mailing list