diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-01-10 18:04:00 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-01-29 11:08:42 +0100 |
commit | c334d4841d9d600237184233518ee13f7421f91c (patch) | |
tree | a638306e0f1202a77a8f8e000468699382cc4519 | |
parent | f3821597383fa20d1093dab70fa75b4a1018a6b3 (diff) | |
download | otp-c334d4841d9d600237184233518ee13f7421f91c.tar.gz otp-c334d4841d9d600237184233518ee13f7421f91c.tar.bz2 otp-c334d4841d9d600237184233518ee13f7421f91c.zip |
erts: Update maps serializing to use term order
* erlang:term_to_binary/1
* erlang:binary_to_term/1
-rw-r--r-- | erts/emulator/beam/external.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index a31b2731be..e8b77b9f37 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -3803,7 +3803,7 @@ dec_term_atom_common: arity = arityval(*keys++); while(arity-- > 1) { - if (CMP(keys[arity-1],keys[arity]) >= 0) { + if (CMP_TERM(keys[arity-1],keys[arity]) >= 0) { goto error; } } |