提交 f5b18c0f authored 作者: Seven Du's avatar Seven Du

FS-5642 --resolve add back the ETIMEDOUT check, needed on Mac

上级 9ec1e865
...@@ -809,7 +809,7 @@ int xp_errno(void) ...@@ -809,7 +809,7 @@ int xp_errno(void)
int xp_is_blocking(int errcode) int xp_is_blocking(int errcode)
{ {
return errcode == EAGAIN || errcode == EWOULDBLOCK || errcode == EINPROGRESS || errcode == EINTR; return errcode == EAGAIN || errcode == EWOULDBLOCK || errcode == EINPROGRESS || errcode == EINTR || errcode == ETIMEDOUT;
} }
#endif #endif
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论