[PATCH 0/1] Update _PC_ASYNC_IO return value

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jul 26 08:21:00 GMT 2018


On Jul 25 15:06, Yaakov Selkowitz wrote:
> >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

Mark?  Any comment you want to make?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20180726/024e00fd/attachment.sig>


More information about the Cygwin-patches mailing list