[erlang-bugs] filelib:ensure_dir/1 broken with symlinks

José Valim <>
Fri Jun 27 22:14:42 CEST 2014


Unfortunately the commit shown above also seems to have broken:

* filelib:is_regular/1
* filelib:is_dir/1
* filelib:is_file/1

As they no longer traverse symlinks and rather return the symlink
information.

filelib:last_modified/1 and filelib:file_size/1 are likely broken too
(basically all functions that use eval_read_file_info/2 besides
filelib:wildcard/3).


*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140627/2f7a654c/attachment.html>


More information about the erlang-bugs mailing list