summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-04-16 09:00:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-04-16 09:00:07 +0000
commita67df23a7d4a18e171f642412e54e15d7289d679 (patch)
treee7b46fdbe6f20072bfc2c0262679605eb4b0a69a /apps
parentbc9397d1fa1e05a09f24f5999fa2e85a23916ab9 (diff)
downloadrockbox-a67df23a7d4a18e171f642412e54e15d7289d679.tar.gz
rockbox-a67df23a7d4a18e171f642412e54e15d7289d679.zip
Enabled the rmdir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4510 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/onplay.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 78cd2474ac..b1b690222b 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;