aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/devices.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2018-02-23 20:59:21 +0100
committerCorinna Vinschen <corinna@vinschen.de>2018-02-23 21:00:43 +0100
commit7f7532fafb0e9787bc9c789f14e9344b8da16244 (patch)
treec05b59ace7c6f4c0895269aea45002e3375da178 /winsup/cygwin/devices.cc
parent5acadbe8afda9ccb97829b9a8f5813464519fcae (diff)
downloadnewlib-7f7532fafb0e9787bc9c789f14e9344b8da16244.zip
newlib-7f7532fafb0e9787bc9c789f14e9344b8da16244.tar.gz
newlib-7f7532fafb0e9787bc9c789f14e9344b8da16244.tar.bz2
Cygwin: Create empty fhandler_socket_unix
* Make distinct from AF_LOCAL for testing purposes. This will have to be reverted as soon as fhandler_socket_unix goes life. * Move saw_reuseaddr flag back to fhandler_socket status Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/devices.cc')
-rw-r--r--winsup/cygwin/devices.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc
index 8ba199d..963069b 100644
--- a/winsup/cygwin/devices.cc
+++ b/winsup/cygwin/devices.cc
@@ -126,6 +126,9 @@ const _device dev_socket_storage =
const _device dev_af_inet_storage =
{"", {FH_INET}, "", exists_internal};
+const _device dev_af_unix_storage =
+ {"", {FH_UNIX}, "", exists_internal};
+
const _device dev_af_local_storage =
{"", {FH_LOCAL}, "", exists_internal};