[erlang-questions] file:file_info/1 broken on R17
Tue Jun 10 17:45:06 CEST 2014
On 06/10/2014 11:54 AM, Andreas Schultz wrote:
> file:file_info/1 is marked obsolete, but it is still there and
> should probably not be broken, right?
> It get this when using it on a non-existing file:
> root@REDACTED:/usr/src/erlang/xray_node# erl
> Erlang/OTP 17 [erts-6.0.1] [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]
> Eshell V6.0.1 (abort with ^G)
> 1> file:file_info("test").
> ** exception error: undefined function erlang:nif_error/1
> in function file:file_info/1 (file.erl, line 128)
> file:read_file_info works as expected...
I reported that on erlang-bugs at the end of October 2013. Must not be
very high priority. :-)
More information about the erlang-questions