diff options
| author | David 'Digit' Turner <digit@google.com> | 2009-05-05 15:50:24 +0200 |
|---|---|---|
| committer | David 'Digit' Turner <digit@google.com> | 2009-05-05 15:50:24 +0200 |
| commit | 5e563700380eade647f347669ea61dbb0ede9814 (patch) | |
| tree | 739599d59b328c4f0880196f0d57f0d7c7f3a0f0 /libc/include | |
| parent | 85a01ffba337b123436f57eba4daae38c7c90d1e (diff) | |
| download | bionic-5e563700380eade647f347669ea61dbb0ede9814.zip bionic-5e563700380eade647f347669ea61dbb0ede9814.tar.gz bionic-5e563700380eade647f347669ea61dbb0ede9814.tar.bz2 | |
change getaddrinfo() implementation to match GLibc.
the issue is that the BSD implementation doesn't accept a call like:
getaddrinfo(SERVER_NAME, "9999", NULL, &res);
because if will reject a numerical string in the second parameter if no hints are explicitely
provided. This technically doesn't violate POSIX but might make porting Linux software a bit
difficult. For more details see:
http://groups.google.com/group/android-ndk/browse_thread/thread/818ab9c53f24c87
also comment debugging printf() calls which shouldn't be there.
Diffstat (limited to 'libc/include')
0 files changed, 0 insertions, 0 deletions
