[erlang-bugs] file:path_open chokes on anything but enoent errors

Samuel <>
Tue Oct 30 08:40:22 CET 2012

> I don't think this is a bug at all.
> -include(...) should not contain a path.
> Use compile:file("one.erl", [{i, Dir},...])

Where is that specified? The documentation does not state that
restriction as far as I can see.

And as already pointed out, the bug is quite clear in file:path_open/3
code, the effect on -include is just a symptom .


More information about the erlang-bugs mailing list