comparison atomicio.c @ 1286:7d02b83c61fd coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Fri, 18 Mar 2016 22:47:33 +0800
parents 968be6f7cff6
children 83d85b28b353
comparison
equal deleted inserted replaced
1261:770e14154da3 1286:7d02b83c61fd
51 if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK) 51 if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK)
52 #else 52 #else
53 if (errno == EINTR || errno == EAGAIN) 53 if (errno == EINTR || errno == EAGAIN)
54 #endif 54 #endif
55 continue; 55 continue;
56 /* FALLTHROUGH */
56 case 0: 57 case 0:
57 return (res); 58 return (res);
58 default: 59 default:
59 pos += res; 60 pos += res;
60 } 61 }