Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  strange behaviour of ets:tab2list with empty lists as key

Guest
Posted: Tue Jul 20, 2010 11:37 am Reply with quote
Guest
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


Post received from mailinglist
Guest
Posted: Tue Jul 20, 2010 11:50 am Reply with quote
Guest
Nico Kruber wrote:
> 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
>
Sounds like the same root problem as this one:

http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:1895:201007:gfodmnfdfedjeipbeldc

I will merge that fix into dev branch for R14B.

/Sverker, Erlang/OTP

________________________________________________________________
erlang-bugs (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-bugs-unsubscribe@erlang.org

Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum