diff options
author | Sverker Eriksson <[email protected]> | 2017-05-03 18:22:45 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-05-10 11:38:42 +0200 |
commit | 95dec7497abbdb06defcb23e99fa31e06597496e (patch) | |
tree | 202e04472d05dcbd326fcd1616a3d919b7b16f02 /erts/emulator/beam/binary.c | |
parent | ffa80a41370025ed2fb95967e731f13cc7e45e4f (diff) | |
download | otp-95dec7497abbdb06defcb23e99fa31e06597496e.tar.gz otp-95dec7497abbdb06defcb23e99fa31e06597496e.tar.bz2 otp-95dec7497abbdb06defcb23e99fa31e06597496e.zip |
erts: Fix ets:select_replace with {const, NewTuple}
Enable ets:select_replace to do a generic single object
compare-and-swap operation of any ets-tuple using
a matchspec like this:
[{Old, [], [{const, New}]}]
The only exception when this does not work is if the key
contains maps or atoms looking like variables (like '$1').
Diffstat (limited to 'erts/emulator/beam/binary.c')
0 files changed, 0 insertions, 0 deletions