1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-01-09 12:48:06 -06:00

tst: passthrough-fuse: fix UNC path mount

This commit is contained in:
zeho11
2022-12-19 09:22:16 +08:00
parent 760c2acded
commit c06141c8c8
2 changed files with 63 additions and 17 deletions

View File

@@ -461,7 +461,7 @@ int main(int argc, char *argv[])
#if defined(_WIN64) || defined(_WIN32)
{
char buf[PATH_MAX];
char buf[PATH_MAX * 4];
if (-1 != getpath(ptfs.rootdir, buf, sizeof buf))
{
ptfs.rootlen = strlen(buf);