projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47ea1fc
)
no fsync on WIN32
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Jul 2002 13:45:49 +0000
(13:45 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Jul 2002 13:45:49 +0000
(13:45 +0000)
bfile/mfile.c
patch
|
blob
|
history
diff --git
a/bfile/mfile.c
b/bfile/mfile.c
index
957e255
..
8680c76
100644
(file)
--- a/
bfile/mfile.c
+++ b/
bfile/mfile.c
@@
-3,7
+3,7
@@
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: mfile.c,v 1.47 2002-07-25 13:06:43 adam Exp $
+ * $Id: mfile.c,v 1.48 2002-07-25 13:45:49 adam Exp $
*/
@@
-413,7
+413,9
@@
int mf_close(MFile mf)
for (i = 0; i < mf->no_files; i++)
if (mf->files[i].fd >= 0)
{
+#ifndef WIN32
fsync(mf->files[i].fd);
+#endif
close(mf->files[i].fd);
mf->files[i].fd = -1;
}