aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-01-18 11:27:13 +0100
committerBjörn Gustavsson <[email protected]>2019-01-18 11:27:13 +0100
commit1e62d4da9762dda158c01c8d684e4d8291ce0d48 (patch)
treeab4ce89de9161c7f8d1eceb4b77cf416d1a8b70d
parent329aff6202d05e5eaa6d0975e6e27b1d121215ee (diff)
parent1f9079c975aea1813d446d49375409cb68747ffe (diff)
downloadotp-1e62d4da9762dda158c01c8d684e4d8291ce0d48.tar.gz
otp-1e62d4da9762dda158c01c8d684e4d8291ce0d48.tar.bz2
otp-1e62d4da9762dda158c01c8d684e4d8291ce0d48.zip
Merge branch 'bjorn/erts/fix-pt-dumping'
* bjorn/erts/fix-pt-dumping: Fix incorrect dumping of some persistent terms
-rw-r--r--erts/emulator/beam/erl_process_dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process_dump.c b/erts/emulator/beam/erl_process_dump.c
index 0286f6a0d2..10ea401022 100644
--- a/erts/emulator/beam/erl_process_dump.c
+++ b/erts/emulator/beam/erl_process_dump.c
@@ -998,7 +998,8 @@ dump_module_literals(fmtfn_t to, void *to_arg, ErtsLiteralArea* lit_area)
}
erts_putc(to, to_arg, '\n');
}
- } else if (is_export_header(w) || is_fun_header(w)) {
+ } else {
+ /* Dump everything else in the external format */
dump_externally(to, to_arg, term);
erts_putc(to, to_arg, '\n');
}