linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] getaddrinfo_a.3: tfix
@ 2016-05-10 14:28 elie-Sg7ocfseCdfsq35pWSNszA
       [not found] ` <1462890487-19482-1-git-send-email-elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: elie-Sg7ocfseCdfsq35pWSNszA @ 2016-05-10 14:28 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Élie Bouttier

From: Élie Bouttier <elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>

EAI_CANCELED and EAI_NOTCANCELED are defined without double L in resolv/netdb.h from glibc.
See https://sourceware.org/git/?p=glibc.git;a=blob;f=resolv/netdb.h;h=3aba530932c7a62a4f23e3193e9186da677f552b;hb=HEAD#l632
---
 man3/getaddrinfo_a.3 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3
index ba7fab5..d8ca129 100644
--- a/man3/getaddrinfo_a.3
+++ b/man3/getaddrinfo_a.3
@@ -229,7 +229,7 @@ function cancels the request
 .IR req .
 If the request has been canceled successfully,
 the error status of the request will be set to
-.B EAI_CANCELLED
+.B EAI_CANCELED
 and normal asynchronous notification will be performed.
 The request cannot be canceled if it is currently being processed;
 in that case, it will be handled as if
@@ -282,17 +282,17 @@ for an unfinished look-up request,
 (as described above), one of the error codes that could be returned by
 .BR getaddrinfo (3),
 or the error code
-.B EAI_CANCELLED
+.B EAI_CANCELED
 if the request has been canceled explicitly before it could be finished.
 
 The
 .BR gai_cancel ()
 function can return one of these values:
 .TP
-.B EAI_CANCELLED
+.B EAI_CANCELED
 The request has been canceled successfully.
 .TP
-.B EAI_NOTCANCELLED
+.B EAI_NOTCANCELED
 The request has not been canceled.
 .TP
 .B EAI_ALLDONE
-- 
2.8.2
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] getaddrinfo_a.3: tfix
       [not found] ` <1462890487-19482-1-git-send-email-elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>
@ 2016-05-11  6:38   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2016-05-11  6:38 UTC (permalink / raw)
  To: elie-Sg7ocfseCdfsq35pWSNszA
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 05/10/2016 04:28 PM, elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org wrote:
> From: Élie Bouttier <elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>

Hello Elie,

Patch applied. Thanks!

Cheers,

Michael


> EAI_CANCELED and EAI_NOTCANCELED are defined without double L in resolv/netdb.h from glibc.
> See https://sourceware.org/git/?p=glibc.git;a=blob;f=resolv/netdb.h;h=3aba530932c7a62a4f23e3193e9186da677f552b;hb=HEAD#l632
> ---
>  man3/getaddrinfo_a.3 | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/man3/getaddrinfo_a.3 b/man3/getaddrinfo_a.3
> index ba7fab5..d8ca129 100644
> --- a/man3/getaddrinfo_a.3
> +++ b/man3/getaddrinfo_a.3
> @@ -229,7 +229,7 @@ function cancels the request
>  .IR req .
>  If the request has been canceled successfully,
>  the error status of the request will be set to
> -.B EAI_CANCELLED
> +.B EAI_CANCELED
>  and normal asynchronous notification will be performed.
>  The request cannot be canceled if it is currently being processed;
>  in that case, it will be handled as if
> @@ -282,17 +282,17 @@ for an unfinished look-up request,
>  (as described above), one of the error codes that could be returned by
>  .BR getaddrinfo (3),
>  or the error code
> -.B EAI_CANCELLED
> +.B EAI_CANCELED
>  if the request has been canceled explicitly before it could be finished.
>  
>  The
>  .BR gai_cancel ()
>  function can return one of these values:
>  .TP
> -.B EAI_CANCELLED
> +.B EAI_CANCELED
>  The request has been canceled successfully.
>  .TP
> -.B EAI_NOTCANCELLED
> +.B EAI_NOTCANCELED
>  The request has not been canceled.
>  .TP
>  .B EAI_ALLDONE
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-11  6:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10 14:28 [PATCH] getaddrinfo_a.3: tfix elie-Sg7ocfseCdfsq35pWSNszA
     [not found] ` <1462890487-19482-1-git-send-email-elie-Sg7ocfseCdfsq35pWSNszA@public.gmane.org>
2016-05-11  6:38   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).