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
d350998c
Commit
d350998c
authored
Jun 30, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Don't bother to check the file name against the mask if stat() succeeded.
parent
d4567778
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
directory.c
dlls/ntdll/directory.c
+2
-1
No files found.
dlls/ntdll/directory.c
View file @
d350998c
...
@@ -1508,7 +1508,7 @@ static int read_directory_stat( int fd, IO_STATUS_BLOCK *io, void *buffer, ULONG
...
@@ -1508,7 +1508,7 @@ static int read_directory_stat( int fd, IO_STATUS_BLOCK *io, void *buffer, ULONG
ret
=
stat
(
unix_name
,
&
st
);
ret
=
stat
(
unix_name
,
&
st
);
if
(
!
ret
)
if
(
!
ret
)
{
{
FILE_BOTH_DIR_INFORMATION
*
info
=
append_entry
(
buffer
,
&
io
->
Information
,
length
,
unix_name
,
NULL
,
mask
);
FILE_BOTH_DIR_INFORMATION
*
info
=
append_entry
(
buffer
,
&
io
->
Information
,
length
,
unix_name
,
NULL
,
NULL
);
if
(
info
)
if
(
info
)
{
{
info
->
NextEntryOffset
=
0
;
info
->
NextEntryOffset
=
0
;
...
@@ -1517,6 +1517,7 @@ static int read_directory_stat( int fd, IO_STATUS_BLOCK *io, void *buffer, ULONG
...
@@ -1517,6 +1517,7 @@ static int read_directory_stat( int fd, IO_STATUS_BLOCK *io, void *buffer, ULONG
else
else
lseek
(
fd
,
1
,
SEEK_CUR
);
lseek
(
fd
,
1
,
SEEK_CUR
);
}
}
else
io
->
u
.
Status
=
STATUS_NO_MORE_FILES
;
}
}
}
}
else
ret
=
-
1
;
else
ret
=
-
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