Bug 477934 nsSafeFileOutputStream (prefs.js) not safe from system crashes
r=biesi
This commit is contained in:
Родитель
1d72c1a8b4
Коммит
9fd25e03e1
|
@ -531,6 +531,7 @@ nsSafeFileOutputStream::Close()
|
|||
NS_IMETHODIMP
|
||||
nsSafeFileOutputStream::Finish()
|
||||
{
|
||||
Flush();
|
||||
nsresult rv = nsFileOutputStream::Close();
|
||||
|
||||
// if there is no temp file, don't try to move it over the original target.
|
||||
|
|
Загрузка…
Ссылка в новой задаче