Re: A _fde Struct change proposal

From: Adrian Chadd <adrian@dont-contact.us>
Date: Mon, 30 Sep 2002 22:33:18 -0600

On Sat, Sep 28, 2002, Robert Collins wrote:
> On Sat, 2002-09-28 at 20:17, Guido Serassio wrote:
> > Hi,
> >
> > Working on Windows port, I have found that my work can be helped adding to
> > _fde structure a FD_CLOSE_METHOD function pointer like FD_READ_METHOD and
> > FD_WRITE_METHOD, and use it instead of close().
> >
> > What are Your opinions ?
>
> Do it. This could even go into HEAD now, IMO.
>
> However, Adrian's current commloops work may have some impact.
>
> Adrian?
>

You should be using comm_close/file_close()/whatever, rather than a direct
call to close(). Any direct calls to close() are bogus.

Now, why do you want to add an FD_CLOSE_METHOD?

Adrian
Received on Mon Sep 30 2002 - 22:33:20 MDT

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