Re: [PATCH] Cygwin: fhandler_socket::open: support the O_PATH flag

2020-01-13 Thread Ken Brown
On 1/13/2020 10:31 AM, Corinna Vinschen wrote: > Hi Ken, > > On Dec 26 15:25, Ken Brown wrote: >> If that flag is not set, fail with EOPNOTSUPP instead of ENXIO. This >> is consistent with POSIX, starting with the 2016 edition. Earlier >> editions were silent on this issue. >> --- >> winsup/cy

Re: [PATCH] Cygwin: fhandler_socket::open: support the O_PATH flag

2020-01-13 Thread Corinna Vinschen
Hi Ken, On Dec 26 15:25, Ken Brown wrote: > If that flag is not set, fail with EOPNOTSUPP instead of ENXIO. This > is consistent with POSIX, starting with the 2016 edition. Earlier > editions were silent on this issue. > --- > winsup/cygwin/fhandler_socket.cc | 13 +++-- > winsup/cygwin

[PATCH] Cygwin: fhandler_socket::open: support the O_PATH flag

2019-12-26 Thread Ken Brown
If that flag is not set, fail with EOPNOTSUPP instead of ENXIO. This is consistent with POSIX, starting with the 2016 edition. Earlier editions were silent on this issue. --- winsup/cygwin/fhandler_socket.cc | 13 +++-- winsup/cygwin/release/3.1.3 | 5 + winsup/doc/new-features