Fix for cache issues (May or may not be Mac-specific?) Added by Belaya.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-26 16:17:05 -04:00
parent 4cace48a9b
commit 3a48310ee7
3 changed files with 3 additions and 4 deletions

View File

@@ -247,7 +247,7 @@ std::string LLDir::buildSLOSCacheDir() const
}
else
{
res = getOSCacheDir() + mDirDelimiter + "SecondLife";
res = getOSCacheDir() + mDirDelimiter + "Ascent";
}
return res;
}

View File

@@ -122,7 +122,7 @@ LLDir_Mac::LLDir_Mac()
CFStringRef stringRef = NULL;
OSStatus error = noErr;
FSRef fileRef;
CFStringRef secondLifeString = CFSTR("SecondLife");
CFStringRef secondLifeString = CFSTR("Ascent");
mainBundleRef = CFBundleGetMainBundle();
@@ -173,7 +173,7 @@ LLDir_Mac::LLDir_Mac()
if (error == noErr)
{
FSRefToLLString(&cacheDirRef, mOSCacheDir);
(void)CFCreateDirectory(&cacheDirRef, CFSTR("SecondLife"),NULL);
(void)CFCreateDirectory(&cacheDirRef, CFSTR("Ascent"), NULL);
}
// mOSUserAppDir