On Tue, Nov 4, 2008 at 4:59 PM, Michael Kerrisk
<[EMAIL PROTECTED]> wrote:
> Well, epoll_wait(2) is just going to behave as usual: it tells us that the
> listening
> socket fd is ready.  Then the accept() fails with EMFILE.
>
> I think the simplest thing here is to change the "continue;" in the error
> handling after accept() to "exit(EXIT_FAILURE);", and that's what I've done
> for man-pages-3.13.
>
> I also added error handling for the epoll_wait() call.

I agree that it's the simplest way, but it's not the proper way.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to