bionic/libc
Derek Xue ba811120ae Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).
This change is to migrate the getaddrinfo tests defined in the old file
system/extras/tests/bionic/libc/common/test_getaddrinfo.c
to the new place bionic/tests/netdb_test.cpp.

The test here is more thorough, and catches a bug in getservbyname(3)
that was breaking getaddrinfo(3)'s ability to look up services by name
without a hint that would cause it to ask for a specific protocol.

Change-Id: Ief5ebd0869496d1bc6a97861dfefa04bdf24bab1
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-10-22 22:23:10 -07:00
..
arch-arm Fix generic __memcpy_chk implementation. 2014-10-17 14:44:36 -07:00
arch-arm64 Add clock_settime and clock_nanosleep. 2014-10-13 17:04:10 -07:00
arch-common/bionic Revert "Register __libc_fini as early as possible." 2014-09-04 21:54:34 +00:00
arch-mips Add clock_settime and clock_nanosleep. 2014-10-13 17:04:10 -07:00
arch-mips64 Add clock_settime and clock_nanosleep. 2014-10-13 17:04:10 -07:00
arch-x86 Replace ambiguous cmp operator with cmpl. 2014-10-21 16:25:35 -07:00
arch-x86_64 Add clock_settime and clock_nanosleep. 2014-10-13 17:04:10 -07:00
bionic Fix race condition in timer disarm/delete. 2014-10-22 13:20:39 -07:00
dns Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3). 2014-10-22 22:23:10 -07:00
include Rename library_offset to library_fd_offset 2014-10-21 13:51:08 -07:00
kernel Move to v3.16.3 kernel headers. 2014-09-18 13:14:58 -07:00
private Add semaphore tests, fix sem_destroy. 2014-09-19 17:37:06 -07:00
stdio Add back symbols to fix Greed for Glory franchise. 2014-10-09 22:23:50 -07:00
tools Force export symbols on all x86 variants in libc. 2014-10-06 16:41:46 -07:00
tzcode Use snprintf(3) instead of sprintf(3). 2014-10-08 17:10:26 -07:00
upstream-dlmalloc Return total footprint, not high water mark. 2014-10-13 12:45:35 -07:00
upstream-freebsd Update our FreeBSD realpath(3) to upstream head. 2014-09-30 16:40:41 -07:00
upstream-netbsd Switch to OpenBSD insque/remque/killpg. 2014-09-23 14:06:56 -07:00
upstream-openbsd Switch to OpenBSD fopen/fclose. 2014-09-24 11:14:36 -07:00
zoneinfo Update bionic to tzdata2014i. 2014-10-22 12:31:02 -07:00
Android.mk Merge "Never use ASAN." 2014-10-21 18:28:19 +00:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Update NOTICE files. 2014-09-13 09:42:41 -07:00
SYSCALLS.TXT Add clock_settime and clock_nanosleep. 2014-10-13 17:04:10 -07:00