From c9daaa8eca044792158139f9e5621b140878817a Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Wed, 12 Dec 2007 13:01:25 -0600 Subject: [PATCH 1/2] disable RemoveVectoredExceptionHandler error checking it's failing with error 258 - wait operation timed out if c_to_factor(quot) is not called, it still "fails" with error 0 - operation successful perhaps we need to clean up resources like the master io completion port? --- vm/os-windows-nt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vm/os-windows-nt.c b/vm/os-windows-nt.c index e425b6b94c..2b08d5f394 100755 --- a/vm/os-windows-nt.c +++ b/vm/os-windows-nt.c @@ -87,8 +87,7 @@ void c_to_factor_toplevel(CELL quot) if(!AddVectoredExceptionHandler(0, (void*)exception_handler)) fatal_error("AddVectoredExceptionHandler failed", 0); c_to_factor(quot); - if(!RemoveVectoredExceptionHandler((void*)exception_handler)) - fatal_error("RemoveVectoredExceptionHandler failed", 0); + RemoveVectoredExceptionHandler((void*)exception_handler); } void open_console(void) From 0e20f7eb7e6244cac52b161dd7fc64b020fd4b72 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Wed, 12 Dec 2007 16:22:41 -0600 Subject: [PATCH 2/2] Fix compile on 64bit linux --- vm/platform.h | 1 - 1 file changed, 1 deletion(-) diff --git a/vm/platform.h b/vm/platform.h index a3b7350b69..d5687b849d 100644 --- a/vm/platform.h +++ b/vm/platform.h @@ -72,7 +72,6 @@ #elif defined(FACTOR_ARM) #include "os-linux-arm.h" #elif defined(FACTOR_AMD64) - #include "os-unix-ucontext.h" #include "os-linux-x86-64.h" #else #error "Unsupported Linux flavor"