diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2019-01-24 02:42:23 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-01-24 14:40:03 +1100 |
commit | 258e6ca003e47f944688ad8b8de087b58a7d966c (patch) | |
tree | 201643267164439b2e35a491e0ff4483345fb373 /atomicio.c | |
parent | 281ce042579b834cdc1e74314f1fb2eeb75d2612 (diff) |
upstream: Check for both EAGAIN and EWOULDBLOCK. This is a no-op
in OpenBSD (they are the same value) but makes things easier in -portable
where they may be distinct values. "sigh ok" deraadt@
(ID sync only, portable already had this change).
OpenBSD-Commit-ID: 91f2bc7c0ecec905915ed59fa37feb9cc90e17d7
Diffstat (limited to 'atomicio.c')
-rw-r--r-- | atomicio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: atomicio.c,v 1.29 2019/01/23 08:01:46 dtucker Exp $ */ +/* $OpenBSD: atomicio.c,v 1.30 2019/01/24 02:42:23 dtucker Exp $ */ /* * Copyright (c) 2006 Damien Miller. All rights reserved. * Copyright (c) 2005 Anil Madhavapeddy. All rights reserved. |