diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-29 18:23:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-29 18:31:48 +0300 |
commit | ddf44375dafe22ed92c2a5208a8313dd1b703d91 (patch) | |
tree | 373f6b3299750edd3d6882f57da8912ae676532a /src | |
parent | 4a9bc602219670ff44e0f12fd35f9976f93ad79c (diff) | |
download | mv-ddf44375dafe22ed92c2a5208a8313dd1b703d91.tar.gz mv-ddf44375dafe22ed92c2a5208a8313dd1b703d91.tar.bz2 mv-ddf44375dafe22ed92c2a5208a8313dd1b703d91.tar.xz mv-ddf44375dafe22ed92c2a5208a8313dd1b703d91.zip |
Mount perserver directory in macosx build.s20170529
Diffstat (limited to 'src')
-rw-r--r-- | src/dirs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp index 34d69d9bd..18005681e 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -208,9 +208,9 @@ void Dirs::mountDataDir() fprintf(stderr, "Can't find Resources directory\n"); } CFRelease(resourcesURL); - // possible crash - strncat(path, "/data", PATH_MAX - 1); - VirtFs::mountDir(path, Append_false); + std::string path2 = pathJoin(path, "data"); + VirtFs::mountDir(pathJoin(path2, "perserver/default"), Append_false); + VirtFs::mountDir(path2, Append_false); // possible this need for support run client from dmg images. // mPackageDir = path; #endif // defined __APPLE__ |