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
7560a890
Commit
7560a890
authored
Dec 30, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make padding explicit in the wake_up_reply structure.
parent
838803ce
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
server_protocol.h
include/wine/server_protocol.h
+2
-1
protocol.def
server/protocol.def
+1
-0
thread.c
server/thread.c
+1
-0
No files found.
include/wine/server_protocol.h
View file @
7560a890
...
...
@@ -137,6 +137,7 @@ struct wake_up_reply
{
client_ptr_t
cookie
;
int
signaled
;
int
__pad
;
};
...
...
@@ -5058,6 +5059,6 @@ union generic_reply
struct
set_window_layered_info_reply
set_window_layered_info_reply
;
};
#define SERVER_PROTOCOL_VERSION 36
7
#define SERVER_PROTOCOL_VERSION 36
8
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
7560a890
...
...
@@ -153,6 +153,7 @@ struct wake_up_reply
{
client_ptr_t cookie; /* magic cookie that was passed in select_request */
int signaled; /* wait result */
int __pad;
};
/* NT-style timeout, in 100ns units, negative means relative timeout */
...
...
server/thread.c
View file @
7560a890
...
...
@@ -565,6 +565,7 @@ static int send_thread_wakeup( struct thread *thread, client_ptr_t cookie, int s
struct
wake_up_reply
reply
;
int
ret
;
memset
(
&
reply
,
0
,
sizeof
(
reply
)
);
reply
.
cookie
=
cookie
;
reply
.
signaled
=
signaled
;
if
((
ret
=
write
(
get_unix_fd
(
thread
->
wait_fd
),
&
reply
,
sizeof
(
reply
)
))
==
sizeof
(
reply
))
...
...
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