forked from Mirrors/wine-wine
ntdll: Also try to stat() the drive root.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46863 Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
107106220b
commit
071e729969
|
@ -2638,7 +2638,7 @@ static NTSTATUS lookup_unix_name( const WCHAR *name, int name_len, char **buffer
|
||||||
char *p;
|
char *p;
|
||||||
unix_name[pos + ret] = 0;
|
unix_name[pos + ret] = 0;
|
||||||
for (p = unix_name + pos ; *p; p++) if (*p == '\\') *p = '/';
|
for (p = unix_name + pos ; *p; p++) if (*p == '\\') *p = '/';
|
||||||
if (!redirect || (!strstr( unix_name, "/windows/") && strncmp( unix_name, "windows/", 8 )))
|
if (!name_len || !redirect || (!strstr( unix_name, "/windows/") && strncmp( unix_name, "windows/", 8 )))
|
||||||
{
|
{
|
||||||
if (!stat( unix_name, &st ))
|
if (!stat( unix_name, &st ))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue