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
b4edb573
Commit
b4edb573
authored
Aug 29, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Message results should be stored as longs, not ints.
parent
572771eb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
server_protocol.h
include/wine/server_protocol.h
+3
-3
protocol.def
server/protocol.def
+2
-2
queue.c
server/queue.c
+3
-3
trace.c
server/trace.c
+2
-2
No files found.
include/wine/server_protocol.h
View file @
b4edb573
...
...
@@ -2523,7 +2523,7 @@ struct get_message_reply
struct
reply_message_request
{
struct
request_header
__header
;
unsigned
int
result
;
unsigned
long
result
;
int
remove
;
/* VARARG(data,bytes); */
};
...
...
@@ -2556,7 +2556,7 @@ struct get_message_reply_request
struct
get_message_reply_reply
{
struct
reply_header
__header
;
unsigned
int
result
;
unsigned
long
result
;
/* VARARG(data,bytes); */
};
...
...
@@ -4731,6 +4731,6 @@ union generic_reply
struct
make_process_system_reply
make_process_system_reply
;
};
#define SERVER_PROTOCOL_VERSION 31
0
#define SERVER_PROTOCOL_VERSION 31
1
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
b4edb573
...
...
@@ -1878,7 +1878,7 @@ enum message_type
/* Reply to a sent message */
@REQ(reply_message)
unsigned
int
result; /* message result */
unsigned
long
result; /* message result */
int remove; /* should we remove the message? */
VARARG(data,bytes); /* message data for sent messages */
@END
...
...
@@ -1896,7 +1896,7 @@ enum message_type
@REQ(get_message_reply)
int cancel; /* cancel message if not ready? */
@REPLY
unsigned
int
result; /* message result */
unsigned
long
result; /* message result */
VARARG(data,bytes); /* message data for sent messages */
@END
...
...
server/queue.c
View file @
b4edb573
...
...
@@ -56,8 +56,8 @@ struct message_result
struct
msg_queue
*
sender
;
/* sender queue */
struct
msg_queue
*
receiver
;
/* receiver queue */
int
replied
;
/* has it been replied to? */
unsigned
int
result
;
/* reply result */
unsigned
int
error
;
/* error code to pass back to sender */
unsigned
long
result
;
/* reply result */
struct
message
*
callback_msg
;
/* message to queue for callback */
void
*
data
;
/* message reply data */
unsigned
int
data_size
;
/* size of message reply data */
...
...
@@ -437,7 +437,7 @@ static inline void remove_result_from_sender( struct message_result *result )
}
/* store the message result in the appropriate structure */
static
void
store_message_result
(
struct
message_result
*
res
,
unsigned
int
result
,
static
void
store_message_result
(
struct
message_result
*
res
,
unsigned
long
result
,
unsigned
int
error
)
{
res
->
result
=
result
;
...
...
@@ -626,7 +626,7 @@ static void receive_message( struct msg_queue *queue, struct message *msg,
}
/* set the result of the current received message */
static
void
reply_message
(
struct
msg_queue
*
queue
,
unsigned
int
result
,
static
void
reply_message
(
struct
msg_queue
*
queue
,
unsigned
long
result
,
unsigned
int
error
,
int
remove
,
const
void
*
data
,
data_size_t
len
)
{
struct
message_result
*
res
=
queue
->
recv_result
;
...
...
server/trace.c
View file @
b4edb573
...
...
@@ -2327,7 +2327,7 @@ static void dump_get_message_reply( const struct get_message_reply *req )
static
void
dump_reply_message_request
(
const
struct
reply_message_request
*
req
)
{
fprintf
(
stderr
,
" result=%
08
x,"
,
req
->
result
);
fprintf
(
stderr
,
" result=%
l
x,"
,
req
->
result
);
fprintf
(
stderr
,
" remove=%d,"
,
req
->
remove
);
fprintf
(
stderr
,
" data="
);
dump_varargs_bytes
(
cur_size
);
...
...
@@ -2347,7 +2347,7 @@ static void dump_get_message_reply_request( const struct get_message_reply_reque
static
void
dump_get_message_reply_reply
(
const
struct
get_message_reply_reply
*
req
)
{
fprintf
(
stderr
,
" result=%
08
x,"
,
req
->
result
);
fprintf
(
stderr
,
" result=%
l
x,"
,
req
->
result
);
fprintf
(
stderr
,
" data="
);
dump_varargs_bytes
(
cur_size
);
}
...
...
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