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
193d9fcf
Commit
193d9fcf
authored
Mar 02, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Only check the existence of the directory for the Unix pathname heuristic.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e5cade0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
path.c
dlls/ntdll/path.c
+2
-1
No files found.
dlls/ntdll/path.c
View file @
193d9fcf
...
...
@@ -551,7 +551,8 @@ static ULONG get_full_path_helper(LPCWSTR name, LPWSTR buffer, ULONG size)
RtlInitUnicodeString
(
&
str
,
nt_str
);
buflen
=
3
*
wcslen
(
name
)
+
1
;
unix_name
=
RtlAllocateHeap
(
GetProcessHeap
(),
0
,
buflen
);
if
(
!
(
status
=
wine_nt_to_unix_file_name
(
&
str
,
unix_name
,
&
buflen
,
FILE_OPEN
)))
status
=
wine_nt_to_unix_file_name
(
&
str
,
unix_name
,
&
buflen
,
FILE_OPEN_IF
);
if
(
!
status
||
status
==
STATUS_NO_SUCH_FILE
)
{
buflen
=
wcslen
(
name
)
+
9
;
status
=
wine_unix_to_nt_file_name
(
unix_name
,
nt_str
,
&
buflen
);
...
...
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