summaryrefslogtreecommitdiff
path: root/atomicio.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2019-01-24 02:42:23 +0000
committerDarren Tucker <dtucker@dtucker.net>2019-01-24 14:40:03 +1100
commit258e6ca003e47f944688ad8b8de087b58a7d966c (patch)
tree201643267164439b2e35a491e0ff4483345fb373 /atomicio.c
parent281ce042579b834cdc1e74314f1fb2eeb75d2612 (diff)
downloadopenssh-git-258e6ca003e47f944688ad8b8de087b58a7d966c.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atomicio.c b/atomicio.c
index 845b328e..e00c9f0d 100644
--- a/atomicio.c
+++ b/atomicio.c
@@ -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.