> From: j...@wxcvbn.org (=?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges-Anglas?=)
> Date: Tue, 30 Apr 2013 20:53:36 +0200
> 
> 
> New diff with .Pp suggested by jmc (which was ok otherwise - thanks).

Sorry, but I don't think this is an improvement.

> Index: accept.2
> ===================================================================
> RCS file: /cvs/src/lib/libc/sys/accept.2,v
> retrieving revision 1.25
> diff -u -p -r1.25 accept.2
> --- accept.2  21 Apr 2013 07:44:59 -0000      1.25
> +++ accept.2  30 Apr 2013 18:51:46 -0000
> @@ -147,7 +147,7 @@ int retcode;
>  
>  retcode = accept(s, (struct sockaddr *)&addr, &len);
>  if (retcode == -1)
> -     err(1, "accept");
> +     err(1, "accept"); /* Probably too simplistic. */
>  .Ed
>  .Sh ERRORS
>  .Fn accept
> @@ -211,3 +211,6 @@ Thus considerable care is required in
>  and
>  .Xr poll 2
>  loops.
> +.Pp
> +.Er ECONNABORTED
> +is often overlooked and should be handled appropriately.
> 
> 

Reply via email to