]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Check for both EAGAIN and EWOULDBLOCK. This is a no-op
authordtucker@openbsd.org <dtucker@openbsd.org>
Thu, 24 Jan 2019 02:42:23 +0000 (02:42 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 24 Jan 2019 03:40:03 +0000 (14:40 +1100)
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

atomicio.c

index 845b328eebe4b544dbfe5815b8d719821cd691a3..e00c9f0d4e22ccda334c74bf5e712b223fbf0f1e 100644 (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.