aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-06-14 16:23:45 +0200
committerRickard Green <[email protected]>2017-06-14 16:23:45 +0200
commit0ca9129395f6fc6306554c7fb9515bc1610578f2 (patch)
treefa102a0ff79f635f8999e97d64801dd6cc42f447 /erts/emulator
parent48e67f5dd1d20b9a1f78c5a97cc7ed4afb489ba5 (diff)
parent5337eff8e86e352eb5ca63cc07bb9880a4f5c9ec (diff)
downloadotp-0ca9129395f6fc6306554c7fb9515bc1610578f2.tar.gz
otp-0ca9129395f6fc6306554c7fb9515bc1610578f2.tar.bz2
otp-0ca9129395f6fc6306554c7fb9515bc1610578f2.zip
Merge branch 'rickard/t2b-latin1-atom'
OTP-14337 * rickard/t2b-latin1-atom: Fix minor vsn 1 in term_to_binary/2 broken in this branch
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/external.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c
index 95275847f8..1560844521 100644
--- a/erts/emulator/beam/external.c
+++ b/erts/emulator/beam/external.c
@@ -1131,6 +1131,7 @@ BIF_RETTYPE term_to_binary_2(BIF_ALIST_2)
break;
case 1: /* Current default... */
flags = TERM_TO_BINARY_DFLAGS;
+ break;
case 2:
flags = TERM_TO_BINARY_DFLAGS | DFLAG_UTF8_ATOMS;
break;