Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[BUG]: io/io_win32.c

0 views
Skip to first unread message

Xi Wang

unread,
Jan 7, 2007, 6:37:26 AM1/7/07
to perl6-i...@perl.org
There are 4 calls to _close on io->fd in functions PIO_win32_send and
PIO_win32_recv.
However, the CRT function _close should not be applied on SOCKET, which
crashes here.

I suggest to replace "_close((SOCKET)io->fd);" by "PIO_win32_close(interp,
layer, io);"
or "closesocket((SOCKET)io->fd); io->fd = 0;".

Xi

0 new messages