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
c4ec2108
Commit
c4ec2108
authored
Jul 16, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass the environment for a child process through the server instead of
relying on the Unix environment.
parent
d724923f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
41 deletions
+70
-41
process.c
dlls/kernel/process.c
+59
-40
server_protocol.h
include/wine/server_protocol.h
+3
-1
protocol.def
server/protocol.def
+2
-0
trace.c
server/trace.c
+6
-0
No files found.
dlls/kernel/process.c
View file @
c4ec2108
This diff is collapsed.
Click to expand it.
include/wine/server_protocol.h
View file @
c4ec2108
...
...
@@ -177,6 +177,7 @@ struct new_process_request
obj_handle_t
hstdout
;
obj_handle_t
hstderr
;
/* VARARG(info,startup_info); */
/* VARARG(env,unicode_str); */
};
struct
new_process_reply
{
...
...
@@ -261,6 +262,7 @@ struct get_startup_info_reply
{
struct
reply_header
__header
;
/* VARARG(info,startup_info); */
/* VARARG(env,unicode_str); */
};
...
...
@@ -3626,6 +3628,6 @@ union generic_reply
struct
set_global_windows_reply
set_global_windows_reply
;
};
#define SERVER_PROTOCOL_VERSION 14
5
#define SERVER_PROTOCOL_VERSION 14
6
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
c4ec2108
...
...
@@ -191,6 +191,7 @@ typedef struct
obj_handle_t hstdout; /* handle for stdout */
obj_handle_t hstderr; /* handle for stderr */
VARARG(info,startup_info); /* startup information */
VARARG(env,unicode_str); /* environment for new process */
@REPLY
obj_handle_t info; /* new process info handle */
@END
...
...
@@ -246,6 +247,7 @@ typedef struct
@REQ(get_startup_info)
@REPLY
VARARG(info,startup_info); /* startup information */
VARARG(env,unicode_str); /* environment */
@END
...
...
server/trace.c
View file @
c4ec2108
...
...
@@ -423,6 +423,9 @@ static void dump_new_process_request( const struct new_process_request *req )
fprintf
(
stderr
,
" hstderr=%p,"
,
req
->
hstderr
);
fprintf
(
stderr
,
" info="
);
dump_varargs_startup_info
(
cur_size
);
fputc
(
','
,
stderr
);
fprintf
(
stderr
,
" env="
);
dump_varargs_unicode_str
(
cur_size
);
}
static
void
dump_new_process_reply
(
const
struct
new_process_reply
*
req
)
...
...
@@ -489,6 +492,9 @@ static void dump_get_startup_info_reply( const struct get_startup_info_reply *re
{
fprintf
(
stderr
,
" info="
);
dump_varargs_startup_info
(
cur_size
);
fputc
(
','
,
stderr
);
fprintf
(
stderr
,
" env="
);
dump_varargs_unicode_str
(
cur_size
);
}
static
void
dump_init_process_done_request
(
const
struct
init_process_done_request
*
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