[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-sf
Subject: B#8532 Task opened by JobVanDam: Code works properly on Sim but
From: Rockbox <bugs () rockbox ! org>
Date: 2008-01-30 19:07:22
Message-ID: 20080130190722.20403.16405580.swift () www ! rockbox ! org
[Download RAW message or body]
A new Flyspray task has been opened. Details are below.
User who did this - Frank Grisafi (JobVanDam)
Attached to Project - Rockbox
Summary - Code works properly on Sim but not on Target
Task Type - Bugs
Category - Simulator
Status - Unconfirmed
Assigned To -
Player type - Gigabeat
Severity -
Priority - Normal
Reported Version - current build
Due in Version - Undecided
Due Date - Undecided
Details - I have a Gigabeat F40.
I wanted to make a small plugin for myself that traversed directories. To skip the \
first two files ('.' and '..') I used the following code:
DIR* dir; //holds the current directory
struct dirent *entry; //holds the current file
char dirPath[MAX_PATH]; //holds the path to the current directory
dir = rb->opendir(dirPath);
entry = rb->readdir(dir);
entry = rb->readdir(dir);
In the simulator the code above worked. After the two readdir() statements entry \
would contain the first file in the directory. On the actual target entry would still \
contain '.' .
I apologize if I reported this without following all proper procedures. If you need \
more information please let me know. Thank you.
More information can be found at the following URL:
http://www.rockbox.org/tracker/task/8532
_______________________________________________
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