diff options
author | Ken Brown <kbrown@cornell.edu> | 2020-01-25 13:08:00 -0500 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2020-01-30 09:43:19 -0500 |
commit | 477121317d01b37d0f6c84f7724487ecf8a9fbbe (patch) | |
tree | f3348fccdfc1274b44df9d0f31ea6edd08b77c0a /libgloss | |
parent | 23cb58af623c457639fdcf97c1990edda0508d5c (diff) | |
download | newlib-477121317d01b37d0f6c84f7724487ecf8a9fbbe.zip newlib-477121317d01b37d0f6c84f7724487ecf8a9fbbe.tar.gz newlib-477121317d01b37d0f6c84f7724487ecf8a9fbbe.tar.bz2 |
Cygwin: AF_LOCAL: fix fcntl and dup if O_PATH is set
Make fhandler_socket_local::dup and fhandler_socket_local::fcntl (a
new method) call fhandler_base::dup and fhandler_base::fcntl if O_PATH
is set.
We're viewing the socket as a disk file here, but there's no need to
implement the actions of fhandler_disk_file::dup and
fhandler_disk_file::fcntl, which do nothing useful in this case beyond
what the fhandler_base methods do. (The extra actions are only useful
when I/O is going to be done on the file.)
Diffstat (limited to 'libgloss')
0 files changed, 0 insertions, 0 deletions