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);
|
||||
if (!pElement) return FALSE;
|
||||
strcpy(szPath, pElement);
|
||||
strcat(szPath, "/");
|
||||
if (szPath[strlen(szPath)-1] != '/') strcat(szPath, "/");
|
||||
free(pElement);
|
||||
|
||||
/* Append the part relative to the drive symbolic link target. */
|
||||
|
|
Loading…
Reference in New Issue