diff options
author | Sverker Eriksson <[email protected]> | 2016-11-29 18:21:17 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-11-29 18:22:04 +0100 |
commit | f7a3650b6827242772f957d624dbb91b5e472744 (patch) | |
tree | 04c11a71940f4cbeeaf958514791f5a3b7142f64 /erts | |
parent | 9a88fc02527063be5096bdf4d49a48b144471553 (diff) | |
download | otp-f7a3650b6827242772f957d624dbb91b5e472744.tar.gz otp-f7a3650b6827242772f957d624dbb91b5e472744.tar.bz2 otp-f7a3650b6827242772f957d624dbb91b5e472744.zip |
erts: Use secret atom as sysname for ETS compressed
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/external.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index a49b242d7c..10e452fa25 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -2163,12 +2163,8 @@ enc_atom(ErtsAtomCacheMap *acmp, Eterm atom, byte *ep, Uint32 dflags) * We use this atom as sysname in local pid/port/refs * for the ETS compressed format (DFLAG_INTERNAL_TAGS). * - * We used atom '' earlier but that turned out to cause problems - * for buggy erl_interface/ic usage of c-nodes with empty node names. - * A long atom reduces risk of nodes actually called this and the length - * does not matter anyway as it's encoded with atom index (ATOM_INTERNAL_REF2). */ -#define INTERNAL_LOCAL_SYSNAME am_await_microstate_accounting_modifications +#define INTERNAL_LOCAL_SYSNAME am_ErtsSecretAtom static byte* enc_pid(ErtsAtomCacheMap *acmp, Eterm pid, byte* ep, Uint32 dflags) |