From: Sam Vilain Date: Wed, 26 May 2010 06:01:08 GMT Subject: [PATCH 098/104] mingw: use _commit to implement fsync Message-ID: <1274853674-18521-98-git-send-email-sam.vilain@catalyst.net.nz> In-Reply-To: <1274853674-18521-1-git-send-email-sam.vilain@catalyst.net.nz> From: Erik Faye-Lund Signed-off-by: Erik Faye-Lund Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- compat/mingw.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/compat/mingw.h b/compat/mingw.h index 0e3e743..f465566 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) -- 1.7.1.rc2.333.gb2668