[erlang-bugs] [BUG] net_adm:world() crashes if node started without name

Bjorn Gustavsson bgustavsson@REDACTED
Tue Oct 21 16:24:05 CEST 2008


2008/10/13 Edwin Fine <erlang-questions_efine@REDACTED>

> This report pertains to R12B-4.
>
> If I call net_adm:world(), and a valid .erlang.hosts file exists in the
> current directory, and I did not start Erlang with a node name, it crashes
> with a case clause error.
>

Thanks for the bug report.

I have changed net_adm:world/0,1 to return an empty list if the Erlang
emulator is not started with a node name.
This change will be included in R12B-5.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20081021/aa48742b/attachment.htm>


More information about the erlang-bugs mailing list