diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-04-16 09:00:07 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-04-16 09:00:07 +0000 |
| commit | a67df23a7d4a18e171f642412e54e15d7289d679 (patch) | |
| tree | e7b46fdbe6f20072bfc2c0262679605eb4b0a69a | |
| parent | bc9397d1fa1e05a09f24f5999fa2e85a23916ab9 (diff) | |
| download | rockbox-a67df23a7d4a18e171f642412e54e15d7289d679.zip rockbox-a67df23a7d4a18e171f642412e54e15d7289d679.tar.gz rockbox-a67df23a7d4a18e171f642412e54e15d7289d679.tar.bz2 rockbox-a67df23a7d4a18e171f642412e54e15d7289d679.tar.xz | |
Enabled the rmdir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4510 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/onplay.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 78cd247..b1b6902 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -257,10 +257,7 @@ static int remove_dir(char* dirname, int len) { /* remove the now empty directory */ dirname[dirlen] = '\0'; /* terminate to original length */ - /* FIXME: It's not working like below, - we need a way to delete a directory */ - - /* result = remove(dirname); */ + result = rmdir(dirname); } return result; |