Changed. #10450. Use threadsafe implementation of fstrcmp based on PHP5's similar_tex...
authordteirney <dteirney@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Mon, 15 Nov 2010 07:15:18 +0000 (07:15 +0000)
committerdteirney <dteirney@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Mon, 15 Nov 2010 07:15:18 +0000 (07:15 +0000)
commitf713b9fd76fd4030b7c4d876f08b9430c276f270
tree34aa2d965f79c771def8d3752fb8124f74e1849c
parent65dfecc9c156d6e6af94b1ec80a1b27ada2fa115
Changed. #10450. Use threadsafe implementation of fstrcmp based on PHP5's similar_text function. The new algorithm is more pessimistic when the strings being compared are different (lower scores). As the strings become more similar, the scores become similar to what they were with the old algorithm. Thanks to PhracturedBlue for the patch and spiff for review and update.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35265 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/utils/Makefile
xbmc/utils/fstrcmp.c [new file with mode: 0644]
xbmc/utils/fstrcmp.cpp [deleted file]
xbmc/utils/fstrcmp.h