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
30baa2a8
Commit
30baa2a8
authored
Apr 08, 2019
by
Vincent Povirk
Committed by
Alexandre Julliard
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mscoree: Don't use a shared mono install with no drive letter.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
718b1bc5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
metahost.c
dlls/mscoree/metahost.c
+8
-0
No files found.
dlls/mscoree/metahost.c
View file @
30baa2a8
...
...
@@ -712,6 +712,7 @@ static BOOL get_mono_path_registry(LPWSTR path)
static
BOOL
get_mono_path_unix
(
const
char
*
unix_dir
,
LPWSTR
path
)
{
static
const
WCHAR
unix_prefix
[]
=
{
'\\'
,
'\\'
,
'?'
,
'\\'
,
'u'
,
'n'
,
'i'
,
'x'
,
'\\'
};
static
WCHAR
*
(
CDECL
*
p_wine_get_dos_file_name
)(
const
char
*
);
LPWSTR
dos_dir
;
WCHAR
mono_dll_path
[
MAX_PATH
];
...
...
@@ -728,6 +729,13 @@ static BOOL get_mono_path_unix(const char *unix_dir, LPWSTR path)
if
(
!
dos_dir
)
return
FALSE
;
if
(
memcmp
(
dos_dir
,
unix_prefix
,
sizeof
(
unix_prefix
))
==
0
)
{
/* No drive letter for this directory */
heap_free
(
dos_dir
);
return
FALSE
;
}
ret
=
find_mono_dll
(
dos_dir
,
mono_dll_path
);
if
(
ret
)
strcpyW
(
path
,
dos_dir
);
...
...
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