X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fwin32-os.c;h=80a6ed2b1a53a03c722e121abb79bb35fb374d19;hb=f7faed97898dd0e94a18b0d1fca03aaa0fe24ab0;hp=406f011cdb9afa9803d9cf1803df6104e116efb9;hpb=ad4b18f5d843d91cc48c9b6cc936a6c7be5fce27;p=sbcl.git diff --git a/src/runtime/win32-os.c b/src/runtime/win32-os.c index 406f011..80a6ed2 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); } @@ -579,9 +579,11 @@ void scratch(void) #ifndef LISP_FEATURE_SB_UNICODE CreateDirectoryA(0,0); CreateFileMappingA(0,0,0,0,0,0); + CreateFileA(0,0,0,0,0,0,0); GetComputerNameA(0, 0); GetCurrentDirectoryA(0,0); GetEnvironmentVariableA(0, 0, 0); + GetFileAttributesA(0); GetVersionExA(0); MoveFileA(0,0); SHGetFolderPathA(0, 0, 0, 0, 0); @@ -590,10 +592,12 @@ void scratch(void) #else CreateDirectoryW(0,0); CreateFileMappingW(0,0,0,0,0,0); + CreateFileW(0,0,0,0,0,0,0); FormatMessageW(0, 0, 0, 0, 0, 0, 0); GetComputerNameW(0, 0); GetCurrentDirectoryW(0,0); GetEnvironmentVariableW(0, 0, 0); + GetFileAttributesW(0); GetVersionExW(0); MoveFileW(0,0); SHGetFolderPathW(0, 0, 0, 0, 0);