diff options
author | Rickard Green <[email protected]> | 2013-04-29 12:59:05 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-04-29 12:59:05 +0200 |
commit | febb7963a74930dccccd3d23ef56a54d27fd2549 (patch) | |
tree | c36ce8a6cdea6f02a4f07798a47cb99cf61be362 /erts/emulator/beam/erl_bif_info.c | |
parent | ad7231b1b5227f2ba9baa58c1c436ff9a95d2c67 (diff) | |
download | otp-febb7963a74930dccccd3d23ef56a54d27fd2549.tar.gz otp-febb7963a74930dccccd3d23ef56a54d27fd2549.tar.bz2 otp-febb7963a74930dccccd3d23ef56a54d27fd2549.zip |
Do not treat port_set_data/port_get_data as signals
Diffstat (limited to 'erts/emulator/beam/erl_bif_info.c')
-rwxr-xr-x | erts/emulator/beam/erl_bif_info.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index 379d3eecc6..9edbd2776d 100755 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -2861,12 +2861,10 @@ erts_bld_port_info(Eterm **hpp, ErlOffHeap *ohp, Uint *szp, Port *prt, Eterm ite included though). */ Uint size = 0; - ErlHeapFragment* bp; erts_doforall_links(ERTS_P_LINKS(prt), &one_link_size, &size); - for (bp = prt->bp; bp; bp = bp->next) - size += sizeof(ErlHeapFragment) + (bp->alloc_size - 1)*sizeof(Eterm); + size += erts_port_data_size(prt); if (prt->linebuf) size += sizeof(LineBuf) + prt->linebuf->ovsiz; |