[erlang-patches] code_server & ERL_LIBS bug

Serge Aleynikov <>
Fri Oct 10 16:04:01 CEST 2008


There's an error in code server that causes erl & erlc to hang at 
startup if ERL_LIBS environment variable is set to an empty string or a 
string containing non-existing directories.

Here's how to reproduce it:

$ export ERL_LIBS=
$ erl

or

$ export ERL_LIBS="/a/b/c"
$ erl

Attached patch corrects the problem.

Regards,

Serge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code_server.erl.patch
Type: application/octet-stream
Size: 1157 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20081010/5881ecd2/attachment.obj>


More information about the erlang-patches mailing list