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
cd2b2bd9
Commit
cd2b2bd9
authored
Dec 08, 2004
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Dec 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid a warning on FreeBSD.
parent
0128a849
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
directory.c
dlls/ntdll/directory.c
+3
-6
No files found.
dlls/ntdll/directory.c
View file @
cd2b2bd9
...
...
@@ -916,16 +916,13 @@ NTSTATUS WINAPI NtQueryDirectoryFile( HANDLE handle, HANDLE event,
if
((
cwd
=
open
(
"."
,
O_RDONLY
))
!=
-
1
&&
fchdir
(
fd
)
!=
-
1
)
{
#ifdef VFAT_IOCTL_READDIR_BOTH
if
((
read_directory_vfat
(
fd
,
io
,
buffer
,
length
,
single_entry
,
mask
,
restart_scan
))
!=
-
1
)
goto
done
;
if
((
read_directory_vfat
(
fd
,
io
,
buffer
,
length
,
single_entry
,
mask
,
restart_scan
))
==
-
1
)
#endif
#ifdef USE_GETDENTS
if
((
read_directory_getdents
(
fd
,
io
,
buffer
,
length
,
single_entry
,
mask
,
restart_scan
))
!=
-
1
)
goto
done
;
if
((
read_directory_getdents
(
fd
,
io
,
buffer
,
length
,
single_entry
,
mask
,
restart_scan
))
==
-
1
)
#endif
read_directory_readdir
(
fd
,
io
,
buffer
,
length
,
single_entry
,
mask
,
restart_scan
);
read_directory_readdir
(
fd
,
io
,
buffer
,
length
,
single_entry
,
mask
,
restart_scan
);
done:
if
(
fchdir
(
cwd
)
==
-
1
)
chdir
(
"/"
);
}
else
io
->
u
.
Status
=
FILE_GetNtStatus
();
...
...
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