[PATCH 0/1] Update _PC_ASYNC_IO return value
Yaakov Selkowitz
yselkowi@redhat.com
Wed Jul 25 20:06:00 GMT 2018
>From discussion on IRC:
<yselkowitz> corinna, just sent a patch for _POSIX_ASYNCHRONOUS_IO as a
follow-up to the AIO feature, but am still wondering about
_[POSIX|PC]_ASYNC_IO
[snip]
<corinna> in terms of _PC_ASYNC_IO, the test might be a bit tricky
<corinna> let me check
<corinna> actually, no
<corinna> it's easy
<corinna> Mark implemented the stuff with pread/pwrite only on disk files
<corinna> but otherwise it's device independent in that he implemented a
workaround for pipes and stuff
<corinna> so, in theory we can just return 1
I'm not sure how to test this atm, but based on the above I have made
the following patch so this doesn't get lost.
Yaakov Selkowitz (1):
Cygwin: fpathconf: update _PC_ASYNC_IO return value
winsup/cygwin/fhandler.cc | 1 +
1 file changed, 1 insertion(+)
--
2.17.1
More information about the Cygwin-patches
mailing list