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
970b3429
Commit
970b3429
authored
Jun 01, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Preserve errno across system calls done in the suspend handler.
parent
b281d3f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
exception.c
dlls/ntdll/exception.c
+4
-0
No files found.
dlls/ntdll/exception.c
View file @
970b3429
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <signal.h>
#include <signal.h>
#include <stdarg.h>
#include <stdarg.h>
...
@@ -147,6 +148,7 @@ extern DWORD EXC_CallHandler( EXCEPTION_RECORD *record, EXCEPTION_REGISTRATION_R
...
@@ -147,6 +148,7 @@ extern DWORD EXC_CallHandler( EXCEPTION_RECORD *record, EXCEPTION_REGISTRATION_R
void
wait_suspend
(
CONTEXT
*
context
)
void
wait_suspend
(
CONTEXT
*
context
)
{
{
LARGE_INTEGER
timeout
;
LARGE_INTEGER
timeout
;
int
saved_errno
=
errno
;
/* store the context we got at suspend time */
/* store the context we got at suspend time */
SERVER_START_REQ
(
set_thread_context
)
SERVER_START_REQ
(
set_thread_context
)
...
@@ -173,6 +175,8 @@ void wait_suspend( CONTEXT *context )
...
@@ -173,6 +175,8 @@ void wait_suspend( CONTEXT *context )
wine_server_call
(
req
);
wine_server_call
(
req
);
}
}
SERVER_END_REQ
;
SERVER_END_REQ
;
errno
=
saved_errno
;
}
}
...
...
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