[erlang-patches] Fix escript zip archive bugs

Tuncer Ayaz tuncer.ayaz@REDACTED
Wed May 2 22:51:09 CEST 2012


Prompted by https://github.com/basho/rebar/issues/213 we've debugged
and isolated two corner cases in erl_prim_loader.

1. erl_prim_loader:read_file_info/1 returning 'error'
2. erl_prim_loader:list_dir/1 returning {ok, ["dir1", [], "file1"]}
   leading to an infinite loop in reltool_target:spec_dir/1

git fetch git://github.com/tuncer/otp.git archive-script

https://github.com/tuncer/otp/compare/maint...archive-script
https://github.com/tuncer/otp/compare/maint...archive-script.patch

Thanks to Siri Hansen and Shunichi Shinohara for debugging and
co-authoring the patches.



More information about the erlang-patches mailing list