tags  504202 fixed-upstream
thanks

On Sat, Nov 1, 2008 at 11:56 AM, Olaf van der Spek <[EMAIL PROTECTED]> wrote:
> Package: manpages
> Version: 3.07-1
> Severity: normal
>
> Hi,
>
> The edge-triggered example doesn't specify whether listener socket is also 
> using
> edge-triggering.

True.  Implicitly, one can draw the conclusion that it is not
edge-triggered, but of course this could be clearer.

> If it does, the example is broken because it doesn't call accept until it 
> returns EAGAIN.

(One draws the conclusion I mentioned *because* it doesn't do this.)

> If it doesn't, this should be specified.

I've done that (see below).

> And then it'd be nice to give an example where it does use edge-triggering as 
> well.

This would serve to make the example longer, but I'm not sure that it
would provide any real learning benefit.  (I'm open to (good)
arguments to the contrary, especially if accompanied by a suitable
patch.)

The code has been altered to that shown below, which will be in
man-pages-3.13, and is already available via git.

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html



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

Reply via email to