From 899242149da9cedcaacf8b29707c8114f68d3cde Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 9 Apr 1998 03:37:17 +0000 Subject: [PATCH] add EINPROGRESS to ignored errnos --- src/comm.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/comm.cc b/src/comm.cc index e7eb8c5d1b..33544035a0 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,7 +1,7 @@ /* - * $Id: comm.cc,v 1.246 1998/04/08 17:24:49 wessels Exp $ + * $Id: comm.cc,v 1.247 1998/04/08 21:37:17 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1438,10 +1438,15 @@ comm_write_mbuf(int fd, MemBuf mb, CWCB * handler, void *handler_data) comm_write(fd, mb.buf, mb.size, handler, handler_data, memBufFreeFunc(&mb)); } +/* + * hm, this might be too general-purpose for all the places we'd + * like to use it. + */ int ignoreErrno(int ierrno) { switch (ierrno) { + case EINPROGRESS: case EWOULDBLOCK: #if EAGAIN != EWOULDBLOCK case EAGAIN: -- 2.47.3