diff options
Diffstat (limited to 'mailnews/base/src/nsMsgFolderCache.cpp')
-rw-r--r-- | mailnews/base/src/nsMsgFolderCache.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mailnews/base/src/nsMsgFolderCache.cpp b/mailnews/base/src/nsMsgFolderCache.cpp index 9510a6e3d2..caab422aa9 100644 --- a/mailnews/base/src/nsMsgFolderCache.cpp +++ b/mailnews/base/src/nsMsgFolderCache.cpp @@ -236,7 +236,11 @@ NS_IMETHODIMP nsMsgFolderCache::Init(nsIFile *aFile) aFile->Exists(&exists); nsAutoCString dbPath; +#ifdef XP_WIN + aFile->GetPersistentDescriptor(dbPath); +#else aFile->GetNativePath(dbPath); +#endif // ### evil cast until MDB supports file streams. nsresult rv = OpenMDB(dbPath, exists); // if this fails and panacea.dat exists, try blowing away the db and recreating it |