This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Detect closed file descriptors on Windows


On 1/11/06, Mark Mitchell <mark@codesourcery.com> wrote:
>         gdb_assert (!FD_ISSET (fd, writefds));
> !       if (FD_ISSET (fd, readfds)
> !         && !FD_ISSET (fd, exceptfds))
> !       continue;

Don't you mean, "if (! FD_ISSET (fd, readfds) && ..."?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]