diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index d51e01aa3ea..1b90d5a99c0 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -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