Piotr Caban : msvcr71: Don't raise exception in _invalid_parameter.
Alexandre Julliard
julliard at winehq.org
Mon Dec 18 14:17:02 CST 2017
Module: wine
Branch: master
Commit: 8ee96fec2b305fb57a8107c0a65fc73c58a096d9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ee96fec2b305fb57a8107c0a65fc73c58a096d9
Author: Piotr Caban <piotr at codeweavers.com>
Date: Mon Dec 18 10:30:08 2017 +0100
msvcr71: Don't raise exception in _invalid_parameter.
Support for invalid parameter handler was added in msvcr80.
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcrt/errno.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/errno.c b/dlls/msvcrt/errno.c
index 45bc194..5693043 100644
--- a/dlls/msvcrt/errno.c
+++ b/dlls/msvcrt/errno.c
@@ -472,7 +472,7 @@ void __cdecl MSVCRT__invalid_parameter(const MSVCRT_wchar_t *expr, const MSVCRT_
else
{
ERR( "%s:%u %s: %s %lx\n", debugstr_w(file), line, debugstr_w(func), debugstr_w(expr), arg );
-#if _MSVCR_VER > 0
+#if _MSVCR_VER >= 80
RaiseException( STATUS_INVALID_CRUNTIME_PARAMETER, EXCEPTION_NONCONTINUABLE, 0, NULL );
#endif
}
More information about the wine-cvs
mailing list