X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fwin32-os.c;h=3d27f7847d081f641cbe0267e3accfb7937f8705;hb=6d9e2243954872457115bbb9ac1ecb1d161acced;hp=6be2b1202d3bb2b9f6a32dadd252c5d13933b019;hpb=6caf3ed5713773cb423f46bf40a29f2438c97c78;p=sbcl.git diff --git a/src/runtime/win32-os.c b/src/runtime/win32-os.c index 6be2b12..3d27f78 100644 --- a/src/runtime/win32-os.c +++ b/src/runtime/win32-os.c @@ -399,7 +399,7 @@ handle_exception(EXCEPTION_RECORD *exception_record, * exception handler if the gc doesn't take the wp violation? */ if (exception_record->ExceptionInformation[0]) { - int index = find_page_index(fault_address); + page_index_t index = find_page_index(fault_address); if ((index != -1) && (page_table[index].write_protected)) { gencgc_handle_wp_violation(fault_address); } @@ -604,6 +604,7 @@ void scratch(void) SetCurrentDirectoryW(0); SetEnvironmentVariableW(0, 0); #endif + _exit(0); } char *