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

Bjorn Gustavsson <>
Tue Oct 21 16:24:05 CEST 2008


2008/10/13 Edwin Fine <>

> 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.html>


More information about the erlang-bugs mailing list