Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8605708e
Commit
8605708e
authored
Feb 28, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecrt0: Use the official definitions for exception flags.
parent
3282eda5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
exception.c
dlls/winecrt0/exception.c
+6
-6
No files found.
dlls/winecrt0/exception.c
View file @
8605708e
...
@@ -100,7 +100,7 @@ DWORD __cdecl __wine_exception_handler( EXCEPTION_RECORD *record,
...
@@ -100,7 +100,7 @@ DWORD __cdecl __wine_exception_handler( EXCEPTION_RECORD *record,
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
EXCEPTION_POINTERS
ptrs
;
EXCEPTION_POINTERS
ptrs
;
if
(
record
->
ExceptionFlags
&
(
E
H_UNWINDING
|
EH_EXIT_UNWIND
|
EH
_NESTED_CALL
))
if
(
record
->
ExceptionFlags
&
(
E
XCEPTION_UNWINDING
|
EXCEPTION_EXIT_UNWIND
|
EXCEPTION
_NESTED_CALL
))
return
ExceptionContinueSearch
;
return
ExceptionContinueSearch
;
ptrs
.
ExceptionRecord
=
record
;
ptrs
.
ExceptionRecord
=
record
;
...
@@ -125,7 +125,7 @@ DWORD __cdecl __wine_exception_ctx_handler( EXCEPTION_RECORD *record,
...
@@ -125,7 +125,7 @@ DWORD __cdecl __wine_exception_ctx_handler( EXCEPTION_RECORD *record,
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
EXCEPTION_POINTERS
ptrs
;
EXCEPTION_POINTERS
ptrs
;
if
(
record
->
ExceptionFlags
&
(
E
H_UNWINDING
|
EH_EXIT_UNWIND
|
EH
_NESTED_CALL
))
if
(
record
->
ExceptionFlags
&
(
E
XCEPTION_UNWINDING
|
EXCEPTION_EXIT_UNWIND
|
EXCEPTION
_NESTED_CALL
))
return
ExceptionContinueSearch
;
return
ExceptionContinueSearch
;
ptrs
.
ExceptionRecord
=
record
;
ptrs
.
ExceptionRecord
=
record
;
...
@@ -147,7 +147,7 @@ DWORD __cdecl __wine_exception_handler_page_fault( EXCEPTION_RECORD *record,
...
@@ -147,7 +147,7 @@ DWORD __cdecl __wine_exception_handler_page_fault( EXCEPTION_RECORD *record,
CONTEXT
*
context
,
CONTEXT
*
context
,
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
{
{
if
(
record
->
ExceptionFlags
&
(
E
H_UNWINDING
|
EH_EXIT_UNWIND
|
EH
_NESTED_CALL
))
if
(
record
->
ExceptionFlags
&
(
E
XCEPTION_UNWINDING
|
EXCEPTION_EXIT_UNWIND
|
EXCEPTION
_NESTED_CALL
))
return
ExceptionContinueSearch
;
return
ExceptionContinueSearch
;
if
(
record
->
ExceptionCode
!=
STATUS_ACCESS_VIOLATION
)
if
(
record
->
ExceptionCode
!=
STATUS_ACCESS_VIOLATION
)
return
ExceptionContinueSearch
;
return
ExceptionContinueSearch
;
...
@@ -159,7 +159,7 @@ DWORD __cdecl __wine_exception_handler_all( EXCEPTION_RECORD *record,
...
@@ -159,7 +159,7 @@ DWORD __cdecl __wine_exception_handler_all( EXCEPTION_RECORD *record,
CONTEXT
*
context
,
CONTEXT
*
context
,
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
{
{
if
(
record
->
ExceptionFlags
&
(
E
H_UNWINDING
|
EH_EXIT_UNWIND
|
EH
_NESTED_CALL
))
if
(
record
->
ExceptionFlags
&
(
E
XCEPTION_UNWINDING
|
EXCEPTION_EXIT_UNWIND
|
EXCEPTION
_NESTED_CALL
))
return
ExceptionContinueSearch
;
return
ExceptionContinueSearch
;
unwind_frame
(
record
,
frame
);
unwind_frame
(
record
,
frame
);
}
}
...
@@ -169,7 +169,7 @@ DWORD __cdecl __wine_finally_handler( EXCEPTION_RECORD *record,
...
@@ -169,7 +169,7 @@ DWORD __cdecl __wine_finally_handler( EXCEPTION_RECORD *record,
CONTEXT
*
context
,
CONTEXT
*
context
,
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
{
{
if
(
record
->
ExceptionFlags
&
(
E
H_UNWINDING
|
EH
_EXIT_UNWIND
))
if
(
record
->
ExceptionFlags
&
(
E
XCEPTION_UNWINDING
|
EXCEPTION
_EXIT_UNWIND
))
{
{
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
wine_frame
->
u
.
finally_func
(
FALSE
);
wine_frame
->
u
.
finally_func
(
FALSE
);
...
@@ -182,7 +182,7 @@ DWORD __cdecl __wine_finally_ctx_handler( EXCEPTION_RECORD *record,
...
@@ -182,7 +182,7 @@ DWORD __cdecl __wine_finally_ctx_handler( EXCEPTION_RECORD *record,
CONTEXT
*
context
,
CONTEXT
*
context
,
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
EXCEPTION_REGISTRATION_RECORD
**
pdispatcher
)
{
{
if
(
record
->
ExceptionFlags
&
(
E
H_UNWINDING
|
EH
_EXIT_UNWIND
))
if
(
record
->
ExceptionFlags
&
(
E
XCEPTION_UNWINDING
|
EXCEPTION
_EXIT_UNWIND
))
{
{
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
__WINE_FRAME
*
wine_frame
=
(
__WINE_FRAME
*
)
frame
;
wine_frame
->
u
.
finally_func_ctx
(
FALSE
,
wine_frame
->
ctx
);
wine_frame
->
u
.
finally_func_ctx
(
FALSE
,
wine_frame
->
ctx
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment