[erlang-patches] binary_to_term, now with options!

Björn Gustavsson <>
Mon Jan 4 19:27:22 CET 2010

On Mon, Jan 4, 2010 at 4:06 PM, Jayson Vantuyl <> wrote:
> git fetch git://github.com/jvantuyl/otp.git binary_to_term_opts


Included in 'pu' with the following changes:

* The updates to erl_internal.erl not included.
We don't add auto-imported BIFs in minor releases
(because of backward-compatibility).
Also, you had removed term_to_binary/2 as an
auto-imported BIF. I assume that was a mistake.

* Fixed indentation. (Our tabs are always 8 steps,
and each indentation level is 4 step, using a mixture
of tabs and spaces.)

* Added parenthesis around an expression following

* Removed the the test for BTT_SAFE in the
ATOM_CACHE_REF case (it can't happen).

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list