CVSROOT: /cvs Module name: src Changes by: e...@cvs.openbsd.org 2012/08/18 05:19:51
Modified files: lib/libc/asr : asr_resolver.c getaddrinfo_async.c getnameinfo_async.c Log message: Improve error reporting in getnameinfo_async() and getaddrinfo_async(). They do not have to deal with h_errno at all. Also, errno is only kept for EAI_SYSTEM. Small code cleanup while there. Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno and overwrite it in the EAI_SYSTEM case. General errno handling issue reported by mikeb@.