This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 1/1] Cygwin: fpathconf: update _PC_ASYNC_IO return value
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Wed, 25 Jul 2018 15:06:43 -0500
- Subject: [PATCH 1/1] Cygwin: fpathconf: update _PC_ASYNC_IO return value
- References: <20180725200643.10750-1-yselkowi@redhat.com>
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
winsup/cygwin/fhandler.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index ded12cc44..22dbdb05d 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1875,6 +1875,7 @@ fhandler_base::fpathconf (int v)
set_errno (EINVAL);
break;
case _PC_ASYNC_IO:
+ return 1;
case _PC_PRIO_IO:
break;
case _PC_SYNC_IO:
--
2.17.1