Initial Mail retrieval from POP account fails(mac only)

the problem is that on the mac, nsPersistentFileDescriptor::operator= will fail silently if the file doesn't exist.
(that issue will be spun off)

on the mailnews side, we can create the msf file

r/sr=bienvenu
This commit is contained in:
sspitzer%mozilla.org 2004-05-23 23:14:22 +00:00
Родитель 0e163890cf
Коммит 701fb9a70f
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1083,9 +1083,13 @@ nsresult nsMsgDBFolder::GetFolderCacheKey(nsIFileSpec **aFileSpec)
{
nsFileSpec folderName;
dbPath->GetFileSpec(&folderName);
nsLocalFolderSummarySpec summarySpec(folderName);
nsLocalFolderSummarySpec summarySpec(folderName);
dbPath->SetFromFileSpec(summarySpec);
// create the .msf file
// see bug #244217 for details
dbPath->Touch();
}
}
return rv;