This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9975 - Improve the strnatcmp function
Attached to Project:
Rockbox
Opened by Alexander Levin (fml2) - Monday, 02 March 2009, 21:38 GMT+2
Last edited by Alexander Levin (fml2) - Monday, 02 March 2009, 22:36 GMT+2
Opened by Alexander Levin (fml2) - Monday, 02 March 2009, 21:38 GMT+2
Last edited by Alexander Levin (fml2) - Monday, 02 March 2009, 22:36 GMT+2
|
DetailsThe recently introduced "natural sorting" function places (for example) cyrillic characters before latin. The usual strcmp does it the other way. For files without digits in the name both functions should give the same result.
The difference seem to be caused by the usage of char for internal work. Changing that to int makes everything straight. |
This task depends upon
Closed by Alexander Levin (fml2)
Monday, 02 March 2009, 22:36 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r20180
Monday, 02 March 2009, 22:36 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r20180