History log of /bionic/libc/dns/net/sethostent.c
Revision Date Author Comments
bb7d9fb5d438c7477c404f97e07e145d49335947 24-Oct-2017 Elliott Hughes <enh@google.com> Improve glibc compatibility of gethostby*_r functions.

And add more tests.

Bug: N/A (but I'm here because a recent test broke existing tests)
Test: ran tests
Change-Id: Ib78430f179b43484a49bb50ff447ea6870c1ee3a
5033918092f27179b0c2bbe3babceaed509d4935 14-Oct-2017 Elliott Hughes <enh@google.com> Complete <netdb.h>.

Add all the missing <netdb.h> functions.

Also fix getservbyport to handle a null protocol correctly.

Also fix getservbyname/getservbyport to not interfere with getservent.

Also fix endservent to reset getservent iteration.

Also reduce unnecessary differences from upstream NetBSD sethostent.c.

The servent implementation is still horrific, and we should
probably support protoent too so that debugging tools can use
getprotobyname/getprotobynumber.

Bug: N/A
Test: ran tests
Change-Id: I639108c46df0a768af297cf3bbce857cb1bef9d9
7069256495ef8a38a16a39a8570800e9e5290004 19-Dec-2014 Yabin Cui <yabinc@google.com> Support gethostbyname_r_ERANGE.

Bug: 18802601
Change-Id: Iaa64921e96f91e330f1845c5399ee8aba39d9c10
58d33a51f336d6823ef1ec915949a5884699ff5f 17-Dec-2014 Yabin Cui <yabinc@google.com> Sync with upstream for gethnamaddr.c.

Bug: 18566967
Change-Id: I37e7410226b49eec67614e20b2c1d5e3e47817a5