[Bug 214171] I am not sure why the definition of EAI_SYSTEM, from getaddrinfo, was changed from POSIX

bugzilla-daemon
2021-08-25T15:41:08Z

https://bugzilla.kernel.org/show_bug.cgi?id=214171

Alejandro Colomar (man-pages) (alx.manpages@gmail.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |alx.manpages@gmail.com

--- Comment #1 from Alejandro Colomar (man-pages) (alx.manpages@gmail.com) ---
It seems reasonable to have doubts about if (ret == EAI_SYSTEM && errno == 0)
can happen, with the current wording.

Perhaps we can use a wording similar to most pages' RETURN VALUE section:

[
EAI_SYSTEM Other system error; errno is set to indicate the error.
]

This is more explicit in that "errno is _set_".

Hmm?

--
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.