I do not like that erl_prim_loader has knowledge of escript internals.<br>Much of the "new" code is copied from escript.<br><br>It would be better if the caller to set_primary_archive/3 could give a fun<br>or MFA as argument which can be executed when the archive needs to<br>
be re-opened. Then we would avoid this duplication of code.<br><br clear="all">/Håkan<br><br><div class="gmail_quote">On Sun, Sep 18, 2011 at 1:16 AM, Tuncer Ayaz <span dir="ltr"><<a href="mailto:tuncer.ayaz@gmail.com">tuncer.ayaz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">git fetch git://<a href="http://github.com/tuncer/otp.git" target="_blank">github.com/tuncer/otp.git</a><br>
erl_prim_loader-primary_archive-reloading<br>
<br>
<a href="https://github.com/tuncer/otp/compare/erl_prim_loader-primary_archive-reloading" target="_blank">https://github.com/tuncer/otp/compare/erl_prim_loader-primary_archive-reloading</a><br>
<a href="https://github.com/tuncer/otp/compare/erl_prim_loader-primary_archive-reloading.patch" target="_blank">https://github.com/tuncer/otp/compare/erl_prim_loader-primary_archive-reloading.patch</a><br>
_______________________________________________<br>
erlang-patches mailing list<br>
<a href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-patches" target="_blank">http://erlang.org/mailman/listinfo/erlang-patches</a><br>
</blockquote></div><br>