smarter eina_list_merge(), more tests.
authorbarbieri <barbieri>
Thu, 6 Aug 2009 18:35:53 +0000 (18:35 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 6 Aug 2009 18:35:53 +0000 (18:35 +0000)
commit95f3d712d80623ff8386736bcdc92af43ae2bb20
tree17d288ca5cb61040c8410f4813e621de46c518cc
parentb4b837e1b86de10a91187dcf48780f2a5fa44b49
smarter eina_list_merge(), more tests.

eina_list_merge() now fixes the smallest list segment, not always the
right. Before if we joined a list 1 to 1000 segments we'd fix all the
1000 instead of the single at left.

Tests to make sure both code paths are being executed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41622 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/eina_list.c
src/tests/eina_test_list.c