[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #32472] Shouldn't use sync ()
From: |
КоренбергМарк |
Subject: |
[bug #32472] Shouldn't use sync () |
Date: |
Fri, 22 Apr 2011 18:01:26 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Ubuntu/10.10 Chromium/10.0.648.205 Chrome/10.0.648.205 Safari/534.16 |
Follow-up Comment #13, bug #32472 (project grub):
Okay, just what I want to see :) Thanks. Really.
But I have some notes about mingw.
According to http://msdn.microsoft.com/en-us/library/17618685 fsync may be
implemented as:
int fsync(int fd)
{
return _commit(fd);
}
/* Please do not implement as '#define fsync(x) _commit(x)' or '#define fsync
_commit'. */
Googling says, that there is implmentation via FlushFileBuffers(), but
http://support.microsoft.com/kb/99456 says, that
_commit is equivalent of FlushFileBuffers, so _commit() is preffered, as it
automatically set errno in case of error.
2. Unused sync() stub for mingw should be removed, as I think.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32472>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #32472] GRUB2 does not flush data correctly after installing, Vladimir Serbinenko, 2011/04/08
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/09
- [bug #32472] GRUB2 does not flush data correctly after installing, Vladimir Serbinenko, 2011/04/09
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/09
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/09
- [bug #32472] GRUB2 does not flush data correctly after installing, Vladimir Serbinenko, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/10
- [bug #32472] GRUB2 does not flush data correctly after installing, КоренбергМарк, 2011/04/15
- Message not available
- Message not available
- [bug #32472] Shouldn't use sync (),
КоренбергМарк <=
- [bug #32472] Shouldn't use sync (), КоренбергМарк, 2011/04/25
- [bug #32472] Shouldn't use sync (), Vladimir Serbinenko, 2011/04/25
- [bug #32472] Shouldn't use sync (), КоренбергМарк, 2011/04/25
- [bug #32472] Shouldn't use sync (), Vladimir Serbinenko, 2011/04/25
- [bug #32472] Shouldn't use sync (), КоренбергМарк, 2011/04/25
- [bug #32472] Shouldn't use sync (), Vladimir Serbinenko, 2011/04/25