dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: RB Directory listing order

Re: RB Directory listing order

From: Bryan VanDyke <>
Date: Mon, 02 Aug 2004 09:18:52 -0400 wrote:

> 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 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?
> /JG
> _______________________________________________

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.

Bryan :)

Received on 2004-08-02

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy