summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-08-22 11:28:24 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-08-22 11:28:24 +0000
commite0e0140f4e63b451a110840dc5ef5c22c3ed9f7c (patch)
tree6e48d6ddc4609f9a49eb2913b145b8d1f81e5436 /firmware/export
parent1a6a4812aa46d66ca46e308897e0cf759e42773f (diff)
downloadrockbox-e0e0140f4e63b451a110840dc5ef5c22c3ed9f7c.tar.gz
rockbox-e0e0140f4e63b451a110840dc5ef5c22c3ed9f7c.zip
Bug fix: renaming a directory could cause a name clash. New feature: rename() can now move files/directories as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5008 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/fat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index f4f09a2d19..6f9c9c5d11 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -89,6 +89,7 @@ extern int fat_seek(struct fat_file *ent, unsigned int sector );
89extern int fat_remove(struct fat_file *ent); 89extern int fat_remove(struct fat_file *ent);
90extern int fat_truncate(const struct fat_file *ent); 90extern int fat_truncate(const struct fat_file *ent);
91extern int fat_rename(struct fat_file* file, 91extern int fat_rename(struct fat_file* file,
92 struct fat_dir* dir,
92 const unsigned char* newname, 93 const unsigned char* newname,
93 int size, int attr); 94 int size, int attr);
94 95