Author: hbelusca Date: Fri Jan 13 00:18:51 2017 New Revision: 73529
URL: http://svn.reactos.org/svn/reactos?rev=73529&view=rev Log: [SHLWAPI]: On Windows 2003, tests show that strings starting with "\?" are considered UNC, while on Windows Vista+ this is not the case anymore. Select Win2k3 behaviour: revert r54542 (and add a note). CORE-12653 #resolve
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?re... ============================================================================== --- trunk/reactos/dll/win32/shlwapi/path.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shlwapi/path.c [iso-8859-1] Fri Jan 13 00:18:51 2017 @@ -2197,7 +2197,12 @@ { TRACE("(%s)\n",debugstr_a(lpszPath));
-#ifdef __REACTOS__ +/* + * On Windows 2003, tests show that strings starting with "\?" are + * considered UNC, while on Windows Vista+ this is not the case anymore. + */ +// #ifdef __REACTOS__ +#if 0 if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\') && (lpszPath[2]!='?')) #else if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\')) @@ -2215,7 +2220,12 @@ { TRACE("(%s)\n",debugstr_w(lpszPath));
-#ifdef __REACTOS__ +/* + * On Windows 2003, tests show that strings starting with "\?" are + * considered UNC, while on Windows Vista+ this is not the case anymore. + */ +// #ifdef __REACTOS__ +#if 0 if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\') && (lpszPath[2]!='?')) #else if (lpszPath && (lpszPath[0]=='\') && (lpszPath[1]=='\'))