зеркало из https://github.com/mozilla/gecko-dev.git
turn on fix for flush on unix as well, r=dmose, sr=sspitzer 142196
This commit is contained in:
Родитель
253a75cdfd
Коммит
6181c9aea0
|
@ -555,11 +555,9 @@ NS_IMETHODIMP FileImpl::Flush()
|
|||
mWriteCursor = nsnull;
|
||||
mWriteLimit = nsnull;
|
||||
|
||||
#ifndef XP_UNIX
|
||||
// On unix, it seems to fail always.
|
||||
if (PR_Sync(mFileDesc) != PR_SUCCESS)
|
||||
mFailed = PR_TRUE;
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
} // FileImpl::flush
|
||||
|
|
Загрузка…
Ссылка в новой задаче