summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unixsupport.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2004-04-01 13:12:36 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2004-04-01 13:12:36 +0000
commitdadb9b9be06aafd1dd667da72c8d497391a9acd4 (patch)
tree70d3b4a57db18e15a876ee0006578c053e437b44 /otherlibs/win32unix/unixsupport.c
parent66848b7881f2b471e0f0f2b7a5d0f5ab38c33878 (diff)
PR#2334
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6182 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
-rw-r--r--otherlibs/win32unix/unixsupport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c
index a8558f816..c8f3dd23a 100644
--- a/otherlibs/win32unix/unixsupport.c
+++ b/otherlibs/win32unix/unixsupport.c
@@ -61,6 +61,7 @@ value win_alloc_socket(SOCKET s)
value res = alloc_custom(&win_handle_ops, sizeof(struct filedescr), 0, 1);
Socket_val(res) = s;
Descr_kind_val(res) = KIND_SOCKET;
+ CRT_fd_val(res) = NO_CRT_FD;
return res;
}