Commit e2d1c103 authored by Michael Jung's avatar Michael Jung Committed by Alexandre Julliard

unixfs: Only append '/' to base path if not already present in

UNIXFS_get_unix_path.
parent 096000df
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment