[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-sf
Subject: B#8532 Comment added by petur: Code works properly on Sim but
From: Rockbox <bugs () rockbox ! org>
Date: 2008-01-30 21:57:58
Message-ID: 20080130215758.1514.815765705.swift () www ! rockbox ! org
[Download RAW message or body]
The following task has a new comment added:
FS#8532 - Code works properly on Sim but not on Target
User who did this - Peter D'Hoye (petur)
----------
I think on target the code always uses dircache. For FAT, the . and .. entries must \
always come first, but I'm not sure what dircache does with it.
This is what I used for the properties plugin:
while(result && (0 != (entry = rb->readdir(dir))))
{
if (!rb->strcmp((char *)entry->d_name, ".") ||
!rb->strcmp((char *)entry->d_name, ".."))
continue; /* skip these */
/* do whatever you need to here */
}
Have a look at the properties plugin, it contains all the directory traversal code \
you need ;)
----------
More information can be found at the following URL:
http://www.rockbox.org/tracker/task/8532#comment21108
_______________________________________________
rockbox-sf mailing list
rockbox-sf@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-sf
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic