Author: rharabien
Date: Tue Nov 29 19:10:22 2011
New Revision: 54542
URL:
http://svn.reactos.org/svn/reactos?rev=54542&view=rev
Log:
[SHLWAPI] - PathIsUNC returns FALSE for paths starting with "\\?". Should be
sent to wine.
Modified:
trunk/reactos/dll/win32/shlwapi/path.c
Modified: trunk/reactos/dll/win32/shlwapi/path.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shlwapi/path.c?r…
==============================================================================
--- trunk/reactos/dll/win32/shlwapi/path.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shlwapi/path.c [iso-8859-1] Tue Nov 29 19:10:22 2011
@@ -2186,7 +2186,7 @@
{
TRACE("(%s)\n",debugstr_a(lpszPath));
- if (lpszPath && (lpszPath[0]=='\\') &&
(lpszPath[1]=='\\'))
+ if (lpszPath && (lpszPath[0]=='\\') &&
(lpszPath[1]=='\\') && (lpszPath[2]!='?'))
return TRUE;
return FALSE;
}
@@ -2200,7 +2200,7 @@
{
TRACE("(%s)\n",debugstr_w(lpszPath));
- if (lpszPath && (lpszPath[0]=='\\') &&
(lpszPath[1]=='\\'))
+ if (lpszPath && (lpszPath[0]=='\\') &&
(lpszPath[1]=='\\') && (lpszPath[2]!='?'))
return TRUE;
return FALSE;
}