unixfs: Only append '/' to base path if not already present in
UNIXFS_get_unix_path.
This commit is contained in:
parent
096000df90
commit
e2d1c1038a
|
@ -435,7 +435,7 @@ static BOOL UNIXFS_get_unix_path(LPCWSTR pszDosPath, char *pszCanonicalPath)
|
||||||
HeapFree(GetProcessHeap(), 0, pszUnixPath);
|
HeapFree(GetProcessHeap(), 0, pszUnixPath);
|
||||||
if (!pElement) return FALSE;
|
if (!pElement) return FALSE;
|
||||||
strcpy(szPath, pElement);
|
strcpy(szPath, pElement);
|
||||||
strcat(szPath, "/");
|
if (szPath[strlen(szPath)-1] != '/') strcat(szPath, "/");
|
||||||
free(pElement);
|
free(pElement);
|
||||||
|
|
||||||
/* Append the part relative to the drive symbolic link target. */
|
/* Append the part relative to the drive symbolic link target. */
|
||||||
|
|
Loading…
Reference in New Issue