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
39a9604e
Commit
39a9604e
authored
Oct 01, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskkill: Use BOOL type where appropriate.
parent
ff7fc1fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
taskkill.c
programs/taskkill/taskkill.c
+5
-5
No files found.
programs/taskkill/taskkill.c
View file @
39a9604e
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
taskkill
);
WINE_DEFAULT_DEBUG_CHANNEL
(
taskkill
);
static
int
force_termination
;
static
BOOL
force_termination
=
FALSE
;
static
WCHAR
**
task_list
;
static
WCHAR
**
task_list
;
static
unsigned
int
task_count
;
static
unsigned
int
task_count
;
...
@@ -456,7 +456,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
...
@@ -456,7 +456,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
if
(
argc
>
1
)
if
(
argc
>
1
)
{
{
int
i
;
int
i
;
BOOL
has_im
=
0
,
has_pid
=
0
;
BOOL
has_im
=
FALSE
,
has_pid
=
FALSE
;
/* Only the lone help option is recognized. */
/* Only the lone help option is recognized. */
if
(
argc
==
2
&&
!
strcmpW
(
slashHelp
,
argv
[
1
]))
if
(
argc
==
2
&&
!
strcmpW
(
slashHelp
,
argv
[
1
]))
...
@@ -472,7 +472,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
...
@@ -472,7 +472,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
if
(
!
strcmpiW
(
slashTerminateChildren
,
argv
[
i
]))
if
(
!
strcmpiW
(
slashTerminateChildren
,
argv
[
i
]))
WINE_FIXME
(
"/T not supported
\n
"
);
WINE_FIXME
(
"/T not supported
\n
"
);
if
(
!
strcmpiW
(
slashForceTerminate
,
argv
[
i
]))
if
(
!
strcmpiW
(
slashForceTerminate
,
argv
[
i
]))
force_termination
=
1
;
force_termination
=
TRUE
;
/* Options /IM and /PID appear to behave identically, except for
/* Options /IM and /PID appear to behave identically, except for
* the fact that they cannot be specified at the same time. */
* the fact that they cannot be specified at the same time. */
else
if
((
got_im
=
!
strcmpiW
(
slashImage
,
argv
[
i
]))
||
else
if
((
got_im
=
!
strcmpiW
(
slashImage
,
argv
[
i
]))
||
...
@@ -485,8 +485,8 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
...
@@ -485,8 +485,8 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
return
FALSE
;
return
FALSE
;
}
}
if
(
got_im
)
has_im
=
1
;
if
(
got_im
)
has_im
=
TRUE
;
if
(
got_pid
)
has_pid
=
1
;
if
(
got_pid
)
has_pid
=
TRUE
;
if
(
has_im
&&
has_pid
)
if
(
has_im
&&
has_pid
)
{
{
...
...
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