projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
572aff7
)
ITS#8192 cleanup unused label on WIN32
author
Howard Chu
<hyc@openldap.org>
Wed, 29 Jul 2015 19:03:43 +0000
(20:03 +0100)
committer
Howard Chu
<hyc@openldap.org>
Wed, 29 Jul 2015 19:03:43 +0000
(20:03 +0100)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
6ccce2d
..
12dad1f
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-3785,7
+3785,6
@@
mdb_env_write_meta(MDB_txn *txn)
/* Write to the SYNC fd */
mfd = (flags & (MDB_NOSYNC|MDB_NOMETASYNC)) ? env->me_fd : env->me_mfd;
-retry_write:
#ifdef _WIN32
{
memset(&ov, 0, sizeof(ov));
@@
-3794,6
+3793,7
@@
retry_write:
rc = -1;
}
#else
+retry_write:
rc = pwrite(mfd, ptr, len, off);
#endif
if (rc != len) {