Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2020-01-23 22:39:15 +0300
committerKen Brown <kbrown@cornell.edu>2020-01-30 17:43:19 +0300
commit3a2191653ac979f494aa2797942bd96414cedde8 (patch)
tree12870d52775ebc63bb1ef6c7139b7f1fc0b99e11 /winsup/cygwin/net.cc
parent9042d0ce65533a26fc3264206db5828d5692332c (diff)
Cygwin: AF_LOCAL: allow opening with the O_PATH flag
If that flag is not set, or if an attempt is made to open a different type of socket, the errno is now EOPNOTSUPP instead of ENXIO. This is consistent with POSIX, starting with the 2016 edition. Earlier editions were silent on this issue. Opening is done in a (new) fhandler_socket_local::open method by calling fhandler_base::open_fs. Also add a corresponding fhandler_socket_local::close method.
Diffstat (limited to 'winsup/cygwin/net.cc')
0 files changed, 0 insertions, 0 deletions