Fix #183856 - don't cache DL folder as user may change it while we're running. r=ccarlen,sr=sfraser

git-svn-id: svn://10.0.0.236/trunk@135558 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sdagley%netscape.com
2002-12-22 01:21:29 +00:00
parent 2ab5b50ebe
commit 02d052d061

View File

@@ -995,6 +995,10 @@ nsDirectoryService::GetFile(const char *prop, PRBool *persistent, nsIFile **_ret
rv = localMacFile->InitWithFSRef(&fsRef);
}
}
// Don't cache the DL directory as the user may change it while we're running.
// Negligible perf hit as this directory is only requested for downloads
*persistent = PR_FALSE;
}
#elif defined (XP_WIN)
else if (inAtom == nsDirectoryService::sSystemDirectory)