[erlang-patches] packaged modules support for code:load_abs/1
cyril Romain
c.romain@REDACTED
Thu Jan 8 02:02:39 CET 2009
Hi,
Here is a patch for the 1st fix suggestion of the following bug:
http://www.erlang.org/pipermail/erlang-bugs/2008-December/001138.html
Although it fix the issue, I very much dislike to successively try to
load the module until loaded with the right module name, but I couldn't
find a better way.
As explained in the bug report a more elegant patch would consist in
loading the file only once. But unfortunately I don't know the Erlang
internal enough nor how Erlang kernel and beam_load.c C code can
interact to create such a patch :-/
Hopefully some Erlang hackers here know how to achieve that properly :-)
Cyril
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-load_abs-1-so-that-it-supports-module-packages.patch
Type: text/x-patch
Size: 2519 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20090108/0b0fc15e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Disable-error-logger-when-loading-packaged-modules.patch
Type: text/x-patch
Size: 1168 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20090108/0b0fc15e/attachment-0001.bin>
More information about the erlang-patches
mailing list