eina hash - fix stringshare key comparison function
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 26 May 2016 00:28:23 +0000 (09:28 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 26 May 2016 00:28:23 +0000 (09:28 +0900)
commit636c8b48c7da345eeb58b0eb0f436e0386e46e6f
treed276a2282f2015f1d0cad5ad622c67f6cc8b9e41
parent03c42fd2cb523dad5602d1f5623069ea12560d9a
eina hash - fix stringshare key comparison function

this fixes T3638

@fix

a note... thanks so much to aerodynamik for spotting this. i'm rather
surprised coverity didn't spot this... unless someone said to "shut up
coverity you're wrong" and they should not have.

i also might have expected compilers to spot this too... and add a
warning.

anyway ... this was a seriously subtle bug that could have caused all
kinds of havoc in efl.  keys that are different may be compared to be
the same. it could get ordering wrong and sorting thus maybe insert
keys that cannot be found anymore and oh so much more besides.
src/lib/eina/eina_hash.c