Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
91deba1d
Commit
91deba1d
authored
Mar 30, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clear the entire request, not just the end, in case it contains
padding bytes.
parent
915a4bac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
server.h
include/wine/server.h
+1
-4
client.c
scheduler/client.c
+0
-1
No files found.
include/wine/server.h
View file @
91deba1d
...
...
@@ -42,7 +42,6 @@ struct __server_request_info
union
generic_request
req
;
/* request structure */
union
generic_reply
reply
;
/* reply structure */
}
u
;
size_t
size
;
/* size of request structure */
unsigned
int
data_count
;
/* count of request data pointers */
void
*
reply_data
;
/* reply data pointer */
struct
__server_iovec
data
[
__SERVER_MAX_DATA
];
/* request variable size data */
...
...
@@ -96,10 +95,8 @@ inline static void wine_server_set_reply( void *req_ptr, void *ptr, unsigned int
struct __server_request_info __req; \
struct type##_request * const req = &__req.u.req.type##_request; \
const struct type##_reply * const reply = &__req.u.reply.type##_reply; \
memset( &__req.u.req, 0, sizeof(__req.u.req) ); \
__req.u.req.request_header.req = REQ_##type; \
__req.u.req.request_header.request_size = 0; \
__req.u.req.request_header.reply_size = 0; \
__req.size = sizeof(*req); \
__req.data_count = 0; \
(void)reply; \
do
...
...
scheduler/client.c
View file @
91deba1d
...
...
@@ -222,7 +222,6 @@ unsigned int wine_server_call( void *req_ptr )
struct
__server_request_info
*
const
req
=
req_ptr
;
sigset_t
old_set
;
memset
(
(
char
*
)
&
req
->
u
.
req
+
req
->
size
,
0
,
sizeof
(
req
->
u
.
req
)
-
req
->
size
);
sigprocmask
(
SIG_BLOCK
,
&
block_set
,
&
old_set
);
send_request
(
req
);
wait_reply
(
req
);
...
...
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