mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 15:44:03 +03:00
14 lines
362 B
Diff
14 lines
362 B
Diff
diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c
|
|
index fe65e30..0070215 100644
|
|
--- a/libraries/liblmdb/mdb.c
|
|
+++ b/libraries/liblmdb/mdb.c
|
|
@@ -2526,7 +2526,7 @@ mdb_env_sync(MDB_env *env, int force)
|
|
rc = ErrCode();
|
|
} else
|
|
#endif
|
|
- if (MDB_FDATASYNC(env->me_fd))
|
|
+ if (fcntl(env->me_fd, F_FULLFSYNC, 0))
|
|
rc = ErrCode();
|
|
}
|
|
}
|