From 701fb9a70f8175a26fb9604aeb2ca07fdb1b2642 Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Sun, 23 May 2004 23:14:22 +0000 Subject: [PATCH] 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 --- mailnews/base/util/nsMsgDBFolder.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mailnews/base/util/nsMsgDBFolder.cpp b/mailnews/base/util/nsMsgDBFolder.cpp index f8e04577b759..03c985b42cf7 100644 --- a/mailnews/base/util/nsMsgDBFolder.cpp +++ b/mailnews/base/util/nsMsgDBFolder.cpp @@ -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;