Re: filelib:ensure_dir/1 broken with symlinks

José Valim <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAGnRm4LgJmesix_piM47NJL5iAgiVF0zV+_2OM4YMMY49WKGgw@mail.gmail.com>
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

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.