turn on fix for flush on unix as well, r=dmose, sr=sspitzer 142196

This commit is contained in:
bienvenu%netscape.com 2002-11-12 02:55:08 +00:00
parent 253a75cdfd
commit 6181c9aea0

View File

@ -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