projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b2964
)
mingw: use _commit to implement fsync
author
Erik Faye-Lund
<kusmabite@googlemail.com>
Thu, 20 May 2010 18:57:54 +0000
(20:57 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 20 May 2010 23:12:46 +0000
(16:12 -0700)
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.h
patch
|
blob
|
history
diff --git
a/compat/mingw.h
b/compat/mingw.h
index 0e3e74304138ab2f279c74599ee934ade72ae37d..f465566b7a5b8c852cad9b41e853aa97ba673b61 100644
(file)
--- 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)