From 572aff7e80809c1020ae92fd0a0d7b28c0b28825 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 29 Jul 2015 20:01:34 +0100 Subject: [PATCH] ITS#8192 fix reference to EINTR on WIN32 from ITS#8106 --- libraries/liblmdb/mdb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 80f6711434..6ccce2d3a2 100644 --- 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. -- 2.39.5