aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/dist.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-03-07 17:04:40 +0100
committerSverker Eriksson <[email protected]>2017-03-08 18:07:08 +0100
commit65b04e233e09e3cc2e0fda3c28e155b95c5a4baf (patch)
tree197b0a3f9ac49e8b4173ec80fa34e6f2cb33ffd8 /erts/emulator/beam/dist.h
parent5cce8836ccffbaf71879b2efbb5788278e7f7e90 (diff)
downloadotp-65b04e233e09e3cc2e0fda3c28e155b95c5a4baf.tar.gz
otp-65b04e233e09e3cc2e0fda3c28e155b95c5a4baf.tar.bz2
otp-65b04e233e09e3cc2e0fda3c28e155b95c5a4baf.zip
erts: Do not generate atoms on old latin1 external format
term_to_binary will always generate utf8 atoms ATOM_UTF8_EXT and SMALL_ATOM_UTF8_EXT. Old latin1 atoms, ATOM_EXT and SMALL_ATOM_EXT, are still decoded.
Diffstat (limited to 'erts/emulator/beam/dist.h')
-rw-r--r--erts/emulator/beam/dist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/dist.h b/erts/emulator/beam/dist.h
index 8f6be1061a..6ed36a478e 100644
--- a/erts/emulator/beam/dist.h
+++ b/erts/emulator/beam/dist.h
@@ -53,6 +53,7 @@
| DFLAG_EXPORT_PTR_TAG \
| DFLAG_BIT_BINARIES \
| DFLAG_MAP_TAG \
+ | DFLAG_UTF8_ATOMS \
| DFLAG_BIG_CREATION)
/* opcodes used in distribution messages */