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

Björn Gustavsson <>
Fri Apr 13 10:20:07 CEST 2012


On 10/11/11, Tuncer Ayaz <> wrote:
> 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
>
> Incorporated changes as suggested by Hakan Mattson.
> Please refetch.

I saw one little thing in the load_prim_archive/3 that can be improved.
This line:

  Ebin = reverse(RevApp) ++ "/ebin",

can be written as:

  Ebin = lists:reverse(RevApp, "/ebin"),


/Björn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-patches mailing list