From: Erik Faye-Lund Date: Thu, 20 May 2010 18:57:54 +0000 (+0200) Subject: mingw: use _commit to implement fsync X-Git-Tag: v1.7.2-rc0~79^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=75f6929a3669dd0b3123b6b3cd51ec09d0b234c4;p=git.git mingw: use _commit to implement fsync Signed-off-by: Erik Faye-Lund Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/compat/mingw.h b/compat/mingw.h index 0e3e74304..f465566b7 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -80,7 +80,7 @@ static inline int fork(void) static inline unsigned int alarm(unsigned int seconds) { return 0; } static inline int fsync(int fd) -{ return 0; } +{ return _commit(fd); } static inline int getppid(void) { return 1; } static inline void sync(void)