Made Erjang work with R14B01. As discussed here, the file driver needed some extensions regarding unicode support. This also fixes #45.
The fix involved porting the following Erlang/OTP changes:
Handle binary file names and conversion of unicode strings
Add file:datasync/1 for syncing file contents only
Add file:advise/4 - a wrapper to the POSIX syscall posix_fadvise
I also added implementations of file:native_name_encoding/0 and code:is_module_native/1, which are needed at boot time as well.
implemented new unicode driver interface from R14B01. See http://www.…
…erlang.org/doc/apps/stdlib/unicode_usage.html#id60205 fo details.
Added support for command FILE_DATASYNC, which is implemented as syno…
…nym to FILE_FSYNC. See erlang/otp@3f53a96#erts/emulator/drivers/common/efile_drv.c for the corresponding commit in Erlang/OTP.
Added support for command FILE_FADVISE, which is implemented as a NO-…
…OP. See erlang/otp@21a67b7#erts/emulator/drivers/common/efile_drv.c for the corresponding commit in Erlang/OTP.
Implemented file:native_name_encoding/0, which currently always retur…
…ns encoding utf8. See http://www.erlang.org/doc/apps/stdlib/unicode_usage.html#id60205 for details on Erlang unicode support.
Added dummy implementation of code:is_module_native/1, which always r…