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
e4591316
Commit
e4591316
authored
Oct 16, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Use BOOL type where appropriate.
parent
443f62d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
builtins.c
programs/cmd/builtins.c
+6
-6
No files found.
programs/cmd/builtins.c
View file @
e4591316
...
...
@@ -280,7 +280,7 @@ void WCMD_choice (const WCHAR * args) {
DWORD
opt_timeout
=
0
;
DWORD
count
;
DWORD
oldmode
;
DWORD
have_console
;
BOOL
have_console
;
BOOL
opt_n
=
FALSE
;
BOOL
opt_s
=
FALSE
;
...
...
@@ -2820,7 +2820,7 @@ syntax_err:
void
WCMD_move
(
void
)
{
int
status
;
BOOL
status
;
WIN32_FIND_DATAW
fd
;
HANDLE
hff
;
WCHAR
input
[
MAX_PATH
];
...
...
@@ -2923,7 +2923,7 @@ void WCMD_move (void)
if
(
ok
)
{
status
=
MoveFileW
(
src
,
dest
);
}
else
{
status
=
1
;
/* Anything other than 0 to prevent error msg below */
status
=
TRUE
;
}
if
(
!
status
)
{
...
...
@@ -3036,7 +3036,7 @@ void WCMD_remove_dir (WCHAR *args) {
void
WCMD_rename
(
void
)
{
int
status
;
BOOL
status
;
HANDLE
hff
;
WIN32_FIND_DATAW
fd
;
WCHAR
input
[
MAX_PATH
];
...
...
@@ -4024,7 +4024,7 @@ void WCMD_setshow_env (WCHAR *s) {
LPVOID
env
;
WCHAR
*
p
;
int
status
;
BOOL
status
;
static
const
WCHAR
parmP
[]
=
{
'/'
,
'P'
,
'\0'
};
static
const
WCHAR
parmA
[]
=
{
'/'
,
'A'
,
'\0'
};
WCHAR
string
[
MAXSTRING
];
...
...
@@ -4140,7 +4140,7 @@ void WCMD_setshow_env (WCHAR *s) {
gle
=
GetLastError
();
if
((
!
status
)
&
(
gle
==
ERROR_ENVVAR_NOT_FOUND
))
{
errorlevel
=
1
;
}
else
if
(
(
!
status
)
)
WCMD_print_error
();
}
else
if
(
!
status
)
WCMD_print_error
();
else
errorlevel
=
0
;
}
}
...
...
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