Linux-man Archive mirror
 help / color / mirror / Atom feed
* [PATCH] getaddrinfo.3: wfix
@ 2021-08-25 15:51 Alejandro Colomar
  2021-08-26 23:06 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-08-25 15:51 UTC (permalink / raw
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man, Cristian Morales Vega

The previous wording wan't very explicit, leaving room for
believing that errno may be 0 after returning EAI_SYSTEM.

Use a wording similar to other pages, for added consistency.

Reported-by: Cristian Morales Vega <christian.morales.vega@gmail.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man3/getaddrinfo.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
index 35071b733..1e13e3ef2 100644
--- a/man3/getaddrinfo.3
+++ b/man3/getaddrinfo.3
@@ -583,9 +583,9 @@ and
 respectively).
 .TP
 .B EAI_SYSTEM
-Other system error, check
+Other system error;
 .I errno
-for details.
+is set to indicate the error.
 .PP
 The
 .BR gai_strerror ()
-- 
2.33.0


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

* Re: [PATCH] getaddrinfo.3: wfix
  2021-08-25 15:51 [PATCH] getaddrinfo.3: wfix Alejandro Colomar
@ 2021-08-26 23:06 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-08-26 23:06 UTC (permalink / raw
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man, Cristian Morales Vega

Hello Alex, Christian,

On 8/25/21 5:51 PM, Alejandro Colomar wrote:
> The previous wording wan't very explicit, leaving room for
> believing that errno may be 0 after returning EAI_SYSTEM.
> 
> Use a wording similar to other pages, for added consistency.
> 
> Reported-by: Cristian Morales Vega <christian.morales.vega@gmail.com>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

Thanks. Patch applied.

Cheers,

Michael

> ---
>  man3/getaddrinfo.3 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/man3/getaddrinfo.3 b/man3/getaddrinfo.3
> index 35071b733..1e13e3ef2 100644
> --- a/man3/getaddrinfo.3
> +++ b/man3/getaddrinfo.3
> @@ -583,9 +583,9 @@ and
>  respectively).
>  .TP
>  .B EAI_SYSTEM
> -Other system error, check
> +Other system error;
>  .I errno
> -for details.
> +is set to indicate the error.
>  .PP
>  The
>  .BR gai_strerror ()
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

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

end of thread, other threads:[~2021-08-26 23:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-25 15:51 [PATCH] getaddrinfo.3: wfix Alejandro Colomar
2021-08-26 23:06 ` 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 read-only IMAP folder(s) and NNTP newsgroup(s).