<div dir="ltr">José, Anthony, thank you.<div>I didn't notice the previous thread.<br>Sorry for that.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 3:20 AM, Anthony Ramine <span dir="ltr"><<a href="mailto:n.oxyde@gmail.com" target="_blank">n.oxyde@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://github.com/erlang/otp/pull/417" target="_blank">https://github.com/erlang/otp/pull/417</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Anthony Ramine<br>
<br>
Le 30 juin 2014 à 21:45, José Valim <<a href="mailto:jose.valim@plataformatec.com.br">jose.valim@plataformatec.com.br</a>> a écrit :<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> Danil, I am assuming you are running on Erlang 17.1. If so, this bug has been reported in a previous thread:<br>
><br>
> <a href="http://erlang.org/pipermail/erlang-bugs/2014-June/004465.html" target="_blank">http://erlang.org/pipermail/erlang-bugs/2014-June/004465.html</a><br>
><br>
><br>
><br>
> José Valim<br>
> <a href="http://www.plataformatec.com.br" target="_blank">www.plataformatec.com.br</a><br>
> Skype: jv.ptec<br>
> Founder and Lead Developer<br>
><br>
><br>
> On Sun, Jun 29, 2014 at 11:02 PM, Danil Zagoskin <<a href="mailto:z@gosk.in">z@gosk.in</a>> wrote:<br>
> For example, I have a directory "foo" and a symlink "bar" to "foo".<br>
> While I can access file, I get error trying to ensure_dir:<br>
> 2> file:read_file("bar/baz").<br>
> {ok,<<>>}<br>
> 3> filelib:ensure_dir("bar/baz").<br>
> {error,eexist}<br>
><br>
> This is because filelib:do_is_dir/2 does not expect a symlink to dir.<br>
><br>
> Is it expected behavior or should I submit a patch for that?<br>
> (This breaks at least lager which does filelib:ensure_dir before opening a log)<br>
><br>
> --<br>
> Danil Zagoskin | <a href="mailto:z@gosk.in">z@gosk.in</a><br>
><br>
> _______________________________________________<br>
> erlang-bugs mailing list<br>
> <a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
><br>
><br>
> _______________________________________________<br>
> erlang-bugs mailing list<br>
> <a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><font face="'courier new', monospace">Danil Zagoskin | <a href="mailto:z@gosk.in" target="_blank">z@gosk.in</a></font></div>
</div>
</div>