I would like to try to contribute to the RockBox code, and I do understand a bit of coding.
However, I still haven't got a working compiling environment (on my Mac).
Right now I think that this thing I want to try is so simple that for somebody who is compiling regularly it would just take 2 minutes to do, while it would take me the entire weekend - if I would get any result at all.
Would somebody please add this for me and make a build for me to try?
Please excuse me, and tell me if there's more to it than I think....
Here goes:
In (/apps/plugins/)"disktidy.c" find these lines (supposedly line 274 and 275) in
/* dir not deleted so clean it */
status = tidy_clean(fullname, removed, system);
This is the recursive call to the same function that you're already in.
To avoid that the plugin tries to open more directories than allowed, I want to add an "if"-statement to line 275.
Like this:
if (opendirs() < MAX_OPEN_DIRS)
  {
     status = tidy_clean(fullname, removed, system);
   }
EDIT: This did indeed not work...