mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 05:43:01 -05:00
ITS#8192 fix reference to EINTR on WIN32 from ITS#8106
This commit is contained in:
parent
2c6c267a23
commit
572aff7e80
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue