diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2012-08-18 11:19:52 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2012-08-18 11:19:52 +0000 |
commit | a921d9a0c0e8fd7782a8914ed5f45b1167ee86ac (patch) | |
tree | 2784903bc76d445f62067cb490f38cb134dc5699 /lib/libc/gmon | |
parent | 873fffe6ddbe47bc045d38fe58e21e6c2d291cd5 (diff) |
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@.
Diffstat (limited to 'lib/libc/gmon')
0 files changed, 0 insertions, 0 deletions