Bug 239455 - Use nsISafeOutputStream.finish() instead of close() to overwrite original popstate.dat. r=irving,a=Standard8 for landing on CLOSED TREE
This commit is contained in:
Родитель
be3442668a
Коммит
78c26011d8
|
@ -352,7 +352,8 @@ net_pop3_write_state(Pop3UidlHost* host, nsIFile *mailDirectory)
|
|||
PL_HashTableEnumerateEntries(host->hash, net_pop3_write_mapper, (void *)fileOutputStream);
|
||||
}
|
||||
}
|
||||
fileOutputStream->Close();
|
||||
nsCOMPtr<nsISafeOutputStream> safeStream = do_QueryInterface(fileOutputStream);
|
||||
safeStream->Finish();
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Загрузка…
Ссылка в новой задаче