[erlang-patches] Patch to fix compilation on OpenIndiana
Henrik Nord
henrik@REDACTED
Fri May 6 11:22:48 CEST 2011
Hi Trond!
Here is a more detailed review of the patch
On 05/06/2011 11:10 AM, Raimo Niskanen wrote:
We want the functionality, but we have just deprecated (at least
disrecommended) inet:getiflist/0 and inet:ifget/2. This functionality
should go into inet:getifaddrs/0, but there it will be harder to fit it in.
We might accept this patch (despite improving a deprecated interface)
to keep as a coding example for later improving inet:getifaddrs/0
(but would of course prefer to get it right from the start) if
the test inet_SUITE:getif/1, function do_getif/1 that checks if
os:type/0 returns {unix,sunos} and if so does not check for a hardware
address covers this operating system. The test has to be narrowed so it
checks for hardware address when the patch is supposed to work.
I guess os:version() can tell if this is openindiana...
--
/Henrik Nord Erlang/OTP
More information about the erlang-patches
mailing list