- Symlink resolution fails when target is a DFS path

This commit is contained in:
Pierre Joye 2010-08-26 14:23:17 +00:00
parent db9667d2a5
commit b777280933

View file

@ -811,7 +811,9 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
\\?\Volume{62d1c3f8-83b9-11de-b108-806e6f6e6963}\foo
*/
if (strncmp(substitutename, "\\??\\Volume{",11) == 0
|| strncmp(substitutename, "\\\\?\\Volume{",11) == 0) {
|| strncmp(substitutename, "\\\\?\\Volume{",11) == 0
|| strncmp(substitutename, "\\??\\UNC\\", 8) == 0
) {
isVolume = TRUE;
substitutename_off = 0;
} else