diff options
author | Sverker Eriksson <[email protected]> | 2019-05-14 17:15:19 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-05-14 20:32:16 +0200 |
commit | 08008bde0369973d7d57cbff35249cc7de8b8c37 (patch) | |
tree | 20cf991da281595c40e2fafa1c949de997566472 /erts/emulator/beam/erl_bif_info.c | |
parent | cf1d6c1bffe86b7a6997e9fb43ff6fdeec1e23be (diff) | |
download | otp-08008bde0369973d7d57cbff35249cc7de8b8c37.tar.gz otp-08008bde0369973d7d57cbff35249cc7de8b8c37.tar.bz2 otp-08008bde0369973d7d57cbff35249cc7de8b8c37.zip |
epmd: Support 32-bit creation values in local node
This reverts revert-commit d293c3ff700c1a0992a32dc3da9ae18964893c23.
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rw-r--r-- | erts/emulator/beam/erl_bif_info.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index 2704b99aa4..24174909dc 100644 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -2799,7 +2799,10 @@ BIF_RETTYPE system_info_1(BIF_ALIST_1) } else if (BIF_ARG_1 == am_threads) { return am_true; } else if (BIF_ARG_1 == am_creation) { - return make_small(erts_this_node->creation); + Uint hsz = 0; + erts_bld_uint(NULL, &hsz, erts_this_node->creation); + hp = hsz ? HAlloc(BIF_P, hsz) : NULL; + BIF_RET(erts_bld_uint(&hp, NULL, erts_this_node->creation)); } else if (BIF_ARG_1 == am_break_ignored) { extern int ignore_break; if (ignore_break) |