diff options
author | Raimo Niskanen <[email protected]> | 2010-02-03 11:17:04 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-09 13:41:42 +0100 |
commit | a53dfdc8d1656faf4b8fc7b41d036f25684d71fe (patch) | |
tree | c3a63b3d07caa777ae83081d6ff9be8ec1959776 /lib/kernel/src/erl_reply.erl | |
parent | 502afaf945dc006c0d2859257b163fd581aee843 (diff) | |
download | otp-a53dfdc8d1656faf4b8fc7b41d036f25684d71fe.tar.gz otp-a53dfdc8d1656faf4b8fc7b41d036f25684d71fe.tar.bz2 otp-a53dfdc8d1656faf4b8fc7b41d036f25684d71fe.zip |
inet_gethost_native: workaround for empty result hostname on MacOS X
On MacOS X the getaddrinfo function apparently can return a result
without canonical hostname e.g when looking up a IPv6 address
string as hostname. The receiving erlang code was not prepared
for that and this patch does a workaround by using the
search string as default value for canonical hostname.
Diffstat (limited to 'lib/kernel/src/erl_reply.erl')
0 files changed, 0 insertions, 0 deletions