[erlang-bugs] Code server does not correctly handle case sensitivity
Adam Lindberg
adam@REDACTED
Tue Jun 14 09:51:33 CEST 2011
Hi,
I was playing around with PropEr, testing meck, when discovering that
loading a lower case module using it's name in upper case will cause the
code server to crash:
1> l('DBG').
{error,badfile}
=ERROR REPORT==== 14-Jun-2011::09:45:15 ===
Loading of
/Users/alind/Applications/erlang/r13b04/lib/erlang/lib/runtime_tools-1.8.3/ebin/DBG.beam
failed: badfile
=ERROR REPORT==== 14-Jun-2011::09:45:15 ===
beam/beam_load.c(1036): Error loading module 'DBG':
module name in object code is dbg
2> l(dbg).
{module,dbg}
Loading a module which has an upper case name already works just fine:
3> l('TEST').
{module,'TEST'}
Cheers,
Adam
More information about the erlang-bugs
mailing list