зеркало из https://github.com/mozilla/gecko-dev.git
fix crash running filter after the fact when a move/copy target folder is gone, sr=mscott 322283
This commit is contained in:
Родитель
6d8e95ed4f
Коммит
375a4ef6d0
|
@ -139,11 +139,15 @@ NS_IMETHODIMP nsMsgFilterService::CloseFilterList(nsIMsgFilterList *filterList)
|
|||
/* save without deleting */
|
||||
NS_IMETHODIMP nsMsgFilterService::SaveFilterList(nsIMsgFilterList *filterList, nsIFileSpec *filterFile)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(filterFile);
|
||||
NS_ENSURE_ARG_POINTER(filterList);
|
||||
|
||||
nsresult ret = NS_OK;
|
||||
nsCOMPtr <nsIFileSpec> tmpFiltersFile;
|
||||
nsCOMPtr <nsIFileSpec> realFiltersFile;
|
||||
nsCOMPtr <nsIFileSpec> parentDir;
|
||||
|
||||
|
||||
nsSpecialSystemDirectory tmpFile(nsSpecialSystemDirectory::OS_TemporaryDirectory);
|
||||
tmpFile += "tmprules.dat";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче