Rockbox mail archiveSubject: Re: RB Directory listing order
Re: RB Directory listing order
From: Bryan VanDyke <bryan314_at_yahoo.com>
Date: Mon, 02 Aug 2004 09:18:52 -0400
> On Mon, 2 Aug 2004 at 06:55, Bryan VanDyke wrote:
>>The sorting is called Natural Order Sort. I've used it in a custom
>>version of rockbox I use for myself. I used a library (strnatcmp.c,
>>strnatcmp.h ) found at http://sourcefrog.net/projects/natsort/ I had to
>>tweak it a little to work on rockbox and work the way I wanted it too.
>>In rockbox I replaced strncmp, strncasecmp in the compare function in
> Do you have the possibility to make a diff of your tweaks, or maybe even
> submit them as a patch?
I zipped up the modified files and they can be downloaded here.
I think tree.c is from a daily build from the end of last week. I don't
remember the when I did a cvs check out. I only modified 2 lines anyways
and added an #include for the .h file.
Received on 2004-08-02