Re: A _fde Struct change proposal

From: Robert Collins <robertc@dont-contact.us>
Date: 01 Oct 2002 20:59:08 +1000

On Tue, 2002-10-01 at 20:45, Guido Serassio wrote:

> >Now, why do you want to add an FD_CLOSE_METHOD?
>
> On Windows close() doesn't close sockets, so on comm.c and in other places,
> close() can't be used. FD_CLOSE_METHOD should be the low level function
> used from comm_close/file_close().
>
> The same thing is true for read() and write(), and FD_READ_METHOD and
> FD_WRITE_METHOD was very useful when porting HEAD to Windows.
>
> Now I'm trying a possible implementation of FD_CLOSE_METHOD on nt branch,
> but at this time I'm still evaluating the benefits, if any.

I think what Adrian is saying is that rather than use FD_CLOSE_METHOD,
all close() calls should be removed and replaced with
comm_close()/file_close(). Then there is only one close() call that
needs replacing for the NT port.

Rob

Received on Tue Oct 01 2002 - 04:58:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:50 MST