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
This commit is contained in:
dtucker@openbsd.org 2019-01-24 02:42:23 +00:00 committed by Darren Tucker
parent 281ce04257
commit 258e6ca003

View File

@ -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.