mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 19:22:22 +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();
|
||
|
}
|
||
|
}
|