aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2014-06-17 10:40:23 +0200
committerBjörn Gustavsson <[email protected]>2014-06-17 10:40:23 +0200
commit2ad1bf818447c8a7ff380e93f43a7a6105a77d6f (patch)
tree1b0c248deb087a219e76962a65234343ca0a8c29 /lib/kernel/src
parent43285542322eccebb8f337610b6a48ddc9c87ca3 (diff)
parent708430b92ff48faa5e0c821dfca520968551a71f (diff)
downloadotp-2ad1bf818447c8a7ff380e93f43a7a6105a77d6f.tar.gz
otp-2ad1bf818447c8a7ff380e93f43a7a6105a77d6f.tar.bz2
otp-2ad1bf818447c8a7ff380e93f43a7a6105a77d6f.zip
Merge branch 'bjorn/kernel/remove-file_info-vestiges/OTP-11982' into maint
* bjorn/kernel/remove-file_info-vestiges/OTP-11982: Remove documentation and stub for non-exist file:file_info/1
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/file.erl10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/kernel/src/file.erl b/lib/kernel/src/file.erl
index 20b703e084..ee2fb85de2 100644
--- a/lib/kernel/src/file.erl
+++ b/lib/kernel/src/file.erl
@@ -117,15 +117,7 @@
| {'time', 'posix'}.
%%% BIFs
--export([file_info/1, native_name_encoding/0]).
-
--spec file_info(Filename) -> {ok, FileInfo} | {error, Reason} when
- Filename :: name_all(),
- FileInfo :: file_info(),
- Reason :: posix() | badarg.
-
-file_info(_) ->
- erlang:nif_error(undef).
+-export([native_name_encoding/0]).
-spec native_name_encoding() -> latin1 | utf8.