aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_port.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-08-24 06:01:25 +0200
committerBjörn Gustavsson <[email protected]>2011-11-17 10:09:51 +0100
commit4b5b0e804255bfa537200617ddbc6104d4fd7c75 (patch)
treec490cc8073cb0b693f835f290fc4b1277d0fe9c6 /erts/emulator/beam/erl_bif_port.c
parent379064981ecccc8c099623cdb93894d02a6bcdc1 (diff)
downloadotp-4b5b0e804255bfa537200617ddbc6104d4fd7c75.tar.gz
otp-4b5b0e804255bfa537200617ddbc6104d4fd7c75.tar.bz2
otp-4b5b0e804255bfa537200617ddbc6104d4fd7c75.zip
external.c: Remove the option to create over-sized heap binaries
Since refc binaries are now supported in literal pools, there is no longer any need to allow the creation of over-sized heap binaries.
Diffstat (limited to 'erts/emulator/beam/erl_bif_port.c')
-rw-r--r--erts/emulator/beam/erl_bif_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_bif_port.c b/erts/emulator/beam/erl_bif_port.c
index b21cda6347..6b8f1b21fd 100644
--- a/erts/emulator/beam/erl_bif_port.c
+++ b/erts/emulator/beam/erl_bif_port.c
@@ -385,7 +385,7 @@ port_call(Process* c_p, Eterm arg1, Eterm arg2, Eterm arg3)
/* Error or a binary without magic/ with wrong magic */
goto error;
}
- result_size = erts_decode_ext_size(port_resp, ret, 0);
+ result_size = erts_decode_ext_size(port_resp, ret);
if (result_size < 0) {
goto error;
}