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-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to