[vlc-devel] [vlc-commits] Remove version sort option. Now uses version sort by default and there' s no way to change it :)
Rafaël Carré
funman at videolan.org
Tue Feb 7 19:29:40 CET 2012
Le 2012-02-07 11:19, Rémi Denis-Courmont a écrit :
> Le mardi 7 février 2012 14:26:00 Antoine Cellerier, vous avez écrit :
>> vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Tue Feb
>> 7 13:25:09 2012 +0100| [285098dc1e0bfa25877842a4a9f7ee04cdd39424] |
>> committer: Antoine Cellerier
>>
>> Remove version sort option. Now uses version sort by default and there's no
>> way to change it :)
>
> This order sucks IMHO. It does not respect collation rules at all. This is a
> regression back to strcmp()-like sorting. This may be intuitive for a
> computer, but this is totally counter-intuitive to humans:
>
> Good / strcoll():
> abc Abc àbc Àbc acb Acb àcb Àcb
>
> Bad / strcmp() and strverscmp():
> Abc Acb abc acb Àbc Àcb àbc àcb
How about using strxfrm before strverscmp ?
More information about the vlc-devel
mailing list