Martin Storsjo : ucrtbase: Hook up _seh_filter_exe and _seh_filter_dll.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 9 08:34:18 CST 2015


Module: wine
Branch: master
Commit: cd785109739a568abcdbd1057c08c8a462112ffd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cd785109739a568abcdbd1057c08c8a462112ffd

Author: Martin Storsjo <martin at martin.st>
Date:   Mon Nov  9 14:10:05 2015 +0200

ucrtbase: Hook up _seh_filter_exe and _seh_filter_dll.

This gives more sensible crash behaviour e.g. if an unimplemented
function is called.

Signed-off-by: Martin Storsjo <martin at martin.st>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec | 4 ++--
 dlls/ucrtbase/ucrtbase.spec                                           | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
index d52b81b..6afa042 100644
--- a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
+++ b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
@@ -63,8 +63,8 @@
 @ stub _register_onexit_function
 @ stub _register_thread_local_exe_atexit_callback
 @ cdecl _resetstkoflw() ucrtbase._resetstkoflw
-@ stub _seh_filter_dll
-@ stub _seh_filter_exe
+@ cdecl -arch=i386,x86_64,arm _seh_filter_dll(long ptr) ucrtbase._seh_filter_dll
+@ cdecl _seh_filter_exe(long ptr) ucrtbase._seh_filter_exe
 @ cdecl _set_abort_behavior(long long) ucrtbase._set_abort_behavior
 @ cdecl _set_app_type(long) ucrtbase._set_app_type
 @ cdecl _set_controlfp(long long) ucrtbase._set_controlfp
diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index 7d8d4d1..c3f76d1 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -1874,8 +1874,8 @@
 @ cdecl -arch=arm,x86_64 _scalbf(float long) MSVCRT__scalbf
 @ cdecl _searchenv(str str ptr) MSVCRT__searchenv
 @ cdecl _searchenv_s(str str ptr long) MSVCRT__searchenv_s
-@ stub _seh_filter_dll
-@ stub _seh_filter_exe
+@ cdecl -arch=i386,x86_64,arm _seh_filter_dll(long ptr) __CppXcptFilter
+@ cdecl _seh_filter_exe(long ptr) _XcptFilter
 @ stub _set_FMA3_enable
 @ stdcall -arch=i386 _seh_longjmp_unwind4(ptr)
 @ stdcall -arch=i386 _seh_longjmp_unwind(ptr)




More information about the wine-cvs mailing list