Mercurial > dropbear
comparison atomicio.c @ 1278:0c47d97aa9d5
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 16 Mar 2016 22:53:27 +0800 |
parents | 968be6f7cff6 |
children | 83d85b28b353 |
comparison
equal
deleted
inserted
replaced
1264:a20b6af6f182 | 1278:0c47d97aa9d5 |
---|---|
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 } |