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
e0330145
Commit
e0330145
authored
Feb 08, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove the no longer needed exe_file parameter in the
init_process_done request.
parent
9669ff8d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
13 deletions
+1
-13
server_protocol.h
include/wine/server_protocol.h
+1
-2
process.c
server/process.c
+0
-9
protocol.def
server/protocol.def
+0
-1
trace.c
server/trace.c
+0
-1
No files found.
include/wine/server_protocol.h
View file @
e0330145
...
...
@@ -264,7 +264,6 @@ struct init_process_done_request
size_t
module_size
;
void
*
entry
;
void
*
name
;
obj_handle_t
exe_file
;
int
gui
;
/* VARARG(filename,unicode_str); */
};
...
...
@@ -4364,6 +4363,6 @@ union generic_reply
struct
query_symlink_reply
query_symlink_reply
;
};
#define SERVER_PROTOCOL_VERSION 22
5
#define SERVER_PROTOCOL_VERSION 22
6
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/process.c
View file @
e0330145
...
...
@@ -351,9 +351,6 @@ size_t init_process( struct thread *thread )
if
(
!
info
)
return
0
;
/* retrieve the main exe file */
if
(
info
->
exe_file
)
process
->
exe
.
file
=
(
struct
file
*
)
grab_object
(
info
->
exe_file
);
/* thread will be actually suspended in init_done */
if
(
info
->
create_flags
&
CREATE_SUSPENDED
)
thread
->
suspend
++
;
...
...
@@ -994,8 +991,6 @@ DECL_HANDLER(init_process_done)
return
;
}
if
(
process
->
exe
.
file
)
release_object
(
process
->
exe
.
file
);
/* check if main exe has been registered as a dll already */
if
((
dll
=
find_process_dll
(
process
,
req
->
module
)))
{
...
...
@@ -1006,13 +1001,9 @@ DECL_HANDLER(init_process_done)
}
else
{
struct
file
*
file
=
NULL
;
if
(
req
->
exe_file
)
file
=
get_file_obj
(
process
,
req
->
exe_file
,
FILE_READ_DATA
);
process
->
exe
.
base
=
req
->
module
;
process
->
exe
.
size
=
req
->
module_size
;
process
->
exe
.
name
=
req
->
name
;
process
->
exe
.
file
=
file
;
if
((
process
->
exe
.
namelen
=
get_req_data_size
()))
process
->
exe
.
filename
=
memdup
(
get_req_data
(),
process
->
exe
.
namelen
);
}
...
...
server/protocol.def
View file @
e0330145
...
...
@@ -258,7 +258,6 @@ struct security_descriptor
size_t module_size; /* main module size */
void* entry; /* process entry point */
void* name; /* ptr to ptr to name (in process addr space) */
obj_handle_t exe_file; /* file handle for main exe */
int gui; /* is it a GUI process? */
VARARG(filename,unicode_str); /* file name of main exe */
@END
...
...
server/trace.c
View file @
e0330145
...
...
@@ -641,7 +641,6 @@ static void dump_init_process_done_request( const struct init_process_done_reque
fprintf
(
stderr
,
" module_size=%lu,"
,
(
unsigned
long
)
req
->
module_size
);
fprintf
(
stderr
,
" entry=%p,"
,
req
->
entry
);
fprintf
(
stderr
,
" name=%p,"
,
req
->
name
);
fprintf
(
stderr
,
" exe_file=%p,"
,
req
->
exe_file
);
fprintf
(
stderr
,
" gui=%d,"
,
req
->
gui
);
fprintf
(
stderr
,
" filename="
);
dump_varargs_unicode_str
(
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