[erlang-questions] code_server & ERL_LIBS bug

Serge Aleynikov saleyn@REDACTED
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


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

Attached patch corrects the problem.


-------------- 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-questions/attachments/20081010/5881ecd2/attachment.obj>

More information about the erlang-questions mailing list