strange behaviour of ets:tab2list with empty lists as key

Nico Kruber kruber@REDACTED
Tue Jul 20 11:47:43 CEST 2010


Hi,
I see some strange behaviour of the ets:tab2list/1 function sometimes: running 
R13B04 and using empty lists, i.e. [], as keys in an ets table results in 
ets:tab2list (sometimes) duplicating the list. See the test_empty() function 
of the attached file.

Regards,
Nico Kruber
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ets_SUITE.erl
Type: text/x-erlang
Size: 808 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20100720/91c915f6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20100720/91c915f6/attachment-0001.bin>


More information about the erlang-bugs mailing list