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

Håkan Mattsson hm@REDACTED
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.

/Håkan

On Sun, Sep 18, 2011 at 1:16 AM, Tuncer Ayaz <tuncer.ayaz@REDACTED> 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
> erlang-patches@REDACTED
> 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.htm>


More information about the erlang-patches mailing list