Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f807f2d4
Commit
f807f2d4
authored
May 01, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Don't skip directory symlinks when looking for a specific file.
parent
48c53215
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
file.c
dlls/kernel32/file.c
+3
-2
No files found.
dlls/kernel32/file.c
View file @
f807f2d4
...
...
@@ -71,6 +71,7 @@ typedef struct
static
BOOL
oem_file_apis
;
static
const
WCHAR
wildcardsW
[]
=
{
'*'
,
'?'
,
0
};
/***********************************************************************
* create_file_OF
...
...
@@ -1559,7 +1560,6 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
LPVOID
data
,
FINDEX_SEARCH_OPS
search_op
,
LPVOID
filter
,
DWORD
flags
)
{
static
const
WCHAR
wildcardsW
[]
=
{
'*'
,
'?'
,
0
};
WCHAR
*
mask
,
*
p
;
FIND_FIRST_INFO
*
info
=
NULL
;
UNICODE_STRING
nt_name
;
...
...
@@ -1787,7 +1787,8 @@ BOOL WINAPI FindNextFileW( HANDLE handle, WIN32_FIND_DATAW *data )
/* check for dir symlink */
if
((
dir_info
->
FileAttributes
&
FILE_ATTRIBUTE_DIRECTORY
)
&&
(
dir_info
->
FileAttributes
&
FILE_ATTRIBUTE_REPARSE_POINT
))
(
dir_info
->
FileAttributes
&
FILE_ATTRIBUTE_REPARSE_POINT
)
&&
strpbrkW
(
info
->
mask
.
Buffer
,
wildcardsW
))
{
if
(
!
check_dir_symlink
(
info
,
dir_info
))
continue
;
}
...
...
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