[erlang-patches] [erts, stdlib] fix escript/primary archive reloading

Håkan Mattsson <>
Thu Oct 6 08:22:14 CEST 2011

I do not like that erl_prim_loader has knowledge of escript internals.
Much of the "new" code is copied from escript.

It would be better if the caller to set_primary_archive/3 could give a fun
or MFA as argument which can be executed when the archive needs to
be re-opened. Then we would avoid this duplication of code.


On Sun, Sep 18, 2011 at 1:16 AM, Tuncer Ayaz <> wrote:

> git fetch git://github.com/tuncer/otp.git
> erl_prim_loader-primary_archive-reloading
> https://github.com/tuncer/otp/compare/erl_prim_loader-primary_archive-reloading
> https://github.com/tuncer/otp/compare/erl_prim_loader-primary_archive-reloading.patch
> _______________________________________________
> erlang-patches mailing list
> http://erlang.org/mailman/listinfo/erlang-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20111006/b69664a5/attachment.html>

More information about the erlang-patches mailing list