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
502fc1ae
Commit
502fc1ae
authored
Dec 09, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use boolean type where appropriate.
parent
8b5ec5bb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
directory.c
dlls/ntdll/directory.c
+7
-7
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+1
-1
server.c
dlls/ntdll/server.c
+1
-1
No files found.
dlls/ntdll/directory.c
View file @
502fc1ae
...
...
@@ -2100,15 +2100,15 @@ NTSTATUS WINAPI NtQueryDirectoryFile( HANDLE handle, HANDLE event,
* There must be at least MAX_DIR_ENTRY_LEN+2 chars available at pos.
*/
static
NTSTATUS
find_file_in_dir
(
char
*
unix_name
,
int
pos
,
const
WCHAR
*
name
,
int
length
,
int
check_case
,
int
*
is_win_dir
)
BOOLEAN
check_case
,
BOOLEAN
*
is_win_dir
)
{
WCHAR
buffer
[
MAX_DIR_ENTRY_LEN
];
UNICODE_STRING
str
;
BOOLEAN
spaces
;
BOOLEAN
spaces
,
is_name_8_dot_3
;
DIR
*
dir
;
struct
dirent
*
de
;
struct
stat
st
;
int
ret
,
used_default
,
is_name_8_dot_3
;
int
ret
,
used_default
;
/* try a shortcut for this directory */
...
...
@@ -2374,7 +2374,7 @@ static void init_redirects(void)
*
* Check if path matches a redirect name. If yes, return matched length.
*/
static
int
match_redirect
(
const
WCHAR
*
path
,
int
len
,
const
WCHAR
*
redir
,
int
check_case
)
static
int
match_redirect
(
const
WCHAR
*
path
,
int
len
,
const
WCHAR
*
redir
,
BOOLEAN
check_case
)
{
int
i
=
0
;
...
...
@@ -2409,7 +2409,7 @@ static int match_redirect( const WCHAR *path, int len, const WCHAR *redir, int c
*
* Retrieve the Unix path corresponding to a redirected path if any.
*/
static
int
get_redirect_path
(
char
*
unix_name
,
int
pos
,
const
WCHAR
*
name
,
int
length
,
int
check_case
)
static
int
get_redirect_path
(
char
*
unix_name
,
int
pos
,
const
WCHAR
*
name
,
int
length
,
BOOLEAN
check_case
)
{
unsigned
int
i
;
int
len
;
...
...
@@ -2433,7 +2433,7 @@ static int get_redirect_path( char *unix_name, int pos, const WCHAR *name, int l
static
const
unsigned
int
nb_redirects
=
0
;
static
int
get_redirect_path
(
char
*
unix_name
,
int
pos
,
const
WCHAR
*
name
,
int
length
,
int
check_case
)
static
int
get_redirect_path
(
char
*
unix_name
,
int
pos
,
const
WCHAR
*
name
,
int
length
,
BOOLEAN
check_case
)
{
return
0
;
}
...
...
@@ -2745,7 +2745,7 @@ static NTSTATUS lookup_unix_name( const WCHAR *name, int name_len, char **buffer
while
(
name_len
)
{
const
WCHAR
*
end
,
*
next
;
int
is_win_dir
=
0
;
BOOLEAN
is_win_dir
=
FALSE
;
end
=
name
;
while
(
end
<
name
+
name_len
&&
!
IS_SEPARATOR
(
*
end
))
end
++
;
...
...
dlls/ntdll/ntdll_misc.h
View file @
502fc1ae
...
...
@@ -79,7 +79,7 @@ extern void heap_set_debug_flags( HANDLE handle ) DECLSPEC_HIDDEN;
/* server support */
extern
timeout_t
server_start_time
DECLSPEC_HIDDEN
;
extern
unsigned
int
server_cpus
DECLSPEC_HIDDEN
;
extern
int
is_wow64
DECLSPEC_HIDDEN
;
extern
BOOL
is_wow64
DECLSPEC_HIDDEN
;
extern
void
server_init_process
(
void
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
server_init_process_done
(
void
)
DECLSPEC_HIDDEN
;
extern
size_t
server_init_thread
(
void
*
entry_point
)
DECLSPEC_HIDDEN
;
...
...
dlls/ntdll/server.c
View file @
502fc1ae
...
...
@@ -107,7 +107,7 @@ static const enum cpu_type client_cpu = CPU_ARM64;
#endif
unsigned
int
server_cpus
=
0
;
int
is_wow64
=
FALSE
;
BOOL
is_wow64
=
FALSE
;
timeout_t
server_start_time
=
0
;
/* time of server startup */
...
...
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