зеркало из https://github.com/mozilla/pjs.git
fix for bug #244217
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:
Родитель
4fe2f09421
Коммит
93de793026
|
@ -1083,9 +1083,13 @@ nsresult nsMsgDBFolder::GetFolderCacheKey(nsIFileSpec **aFileSpec)
|
||||||
{
|
{
|
||||||
nsFileSpec folderName;
|
nsFileSpec folderName;
|
||||||
dbPath->GetFileSpec(&folderName);
|
dbPath->GetFileSpec(&folderName);
|
||||||
nsLocalFolderSummarySpec summarySpec(folderName);
|
nsLocalFolderSummarySpec summarySpec(folderName);
|
||||||
|
|
||||||
dbPath->SetFromFileSpec(summarySpec);
|
dbPath->SetFromFileSpec(summarySpec);
|
||||||
|
|
||||||
|
// create the .msf file
|
||||||
|
// see bug #244217 for details
|
||||||
|
dbPath->Touch();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return rv;
|
return rv;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче