From dadb9b9be06aafd1dd667da72c8d497391a9acd4 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Thu, 1 Apr 2004 13:12:36 +0000 Subject: PR#2334 git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6182 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/win32unix/unixsupport.c | 1 + 1 file changed, 1 insertion(+) (limited to 'otherlibs/win32unix/unixsupport.c') 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; } -- cgit v1.2.3-70-g09d2