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
39f67279
Commit
39f67279
authored
Jan 20, 2008
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Jan 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Use setproctitle where applicable to set the process name.
Based on a patch by Kris Moore.
parent
1868abda
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
0 deletions
+10
-0
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
process.c
dlls/kernel32/process.c
+4
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
39f67279
...
...
@@ -16536,6 +16536,7 @@ esac
for
ac_func
in
\
_pclose
\
_popen
\
...
...
@@ -16581,6 +16582,7 @@ for ac_func in \
rfork
\
sched_yield
\
select
\
setproctitle
\
setrlimit
\
settimeofday
\
sigaltstack
\
...
...
configure.ac
View file @
39f67279
...
...
@@ -1364,6 +1364,7 @@ AC_CHECK_FUNCS(\
rfork \
sched_yield \
select \
setproctitle \
setrlimit \
settimeofday \
sigaltstack \
...
...
dlls/kernel32/process.c
View file @
39f67279
...
...
@@ -897,6 +897,10 @@ static void start_process( void *arg )
*/
static
void
set_process_name
(
int
argc
,
char
*
argv
[]
)
{
#ifdef HAVE_SETPROCTITLE
setproctitle
(
"-%s"
,
argv
[
1
]);
#endif
#ifdef HAVE_PRCTL
int
i
,
offset
;
char
*
p
,
*
prctl_name
=
argv
[
1
];
...
...
include/config.h.in
View file @
39f67279
...
...
@@ -588,6 +588,9 @@
/* Define to 1 if you have the `sendmsg' function. */
#undef HAVE_SENDMSG
/* Define to 1 if you have the `setproctitle' function. */
#undef HAVE_SETPROCTITLE
/* Define to 1 if you have the `setrlimit' function. */
#undef HAVE_SETRLIMIT
...
...
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