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:
2c6c267
)
ITS#8192 fix reference to EINTR on WIN32 from ITS#8106
author
Howard Chu
<hyc@openldap.org>
Wed, 29 Jul 2015 19:01:34 +0000
(20:01 +0100)
committer
Howard Chu
<hyc@openldap.org>
Wed, 29 Jul 2015 19:01:34 +0000
(20:01 +0100)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
80f6711
..
6ccce2d
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-3798,8
+3798,10
@@
retry_write:
#endif
if (rc != len) {
rc = rc < 0 ? ErrCode() : EIO;
+#ifndef _WIN323
if (rc == EINTR)
goto retry_write;
+#endif
DPUTS("write failed, disk error?");
/* On a failure, the pagecache still contains the new data.
* Write some old data back, to prevent it from being used.