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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user