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
baf491b8
Commit
baf491b8
authored
Oct 03, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Use BOOL type where appropriate.
parent
239c1604
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
process.c
dlls/kernel32/process.c
+3
-3
No files found.
dlls/kernel32/process.c
View file @
baf491b8
...
...
@@ -84,7 +84,7 @@ typedef struct
static
DWORD
shutdown_flags
=
0
;
static
DWORD
shutdown_priority
=
0x280
;
static
BOOL
is_wow64
;
static
const
int
is_win64
=
(
sizeof
(
void
*
)
>
sizeof
(
int
));
static
const
BOOL
is_win64
=
(
sizeof
(
void
*
)
>
sizeof
(
int
));
HMODULE
kernel32_handle
=
0
;
SYSTEM_BASIC_INFORMATION
system_info
=
{
0
};
...
...
@@ -116,7 +116,7 @@ extern void SHELL_LoadRegistry(void);
/***********************************************************************
* contains_path
*/
static
inline
int
contains_path
(
LPCWSTR
name
)
static
inline
BOOL
contains_path
(
LPCWSTR
name
)
{
return
((
*
name
&&
(
name
[
1
]
==
':'
))
||
strchrW
(
name
,
'/'
)
||
strchrW
(
name
,
'\\'
));
}
...
...
@@ -128,7 +128,7 @@ static inline int contains_path( LPCWSTR name )
* Check if an environment variable needs to be handled specially when
* passed through the Unix environment (i.e. prefixed with "WINE").
*/
static
inline
int
is_special_env_var
(
const
char
*
var
)
static
inline
BOOL
is_special_env_var
(
const
char
*
var
)
{
return
(
!
strncmp
(
var
,
"PATH="
,
sizeof
(
"PATH="
)
-
1
)
||
!
strncmp
(
var
,
"PWD="
,
sizeof
(
"PWD="
)
-
1
)
||
...
...
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