From e0e0140f4e63b451a110840dc5ef5c22c3ed9f7c Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 22 Aug 2004 11:28:24 +0000 Subject: 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 --- firmware/export/fat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export/fat.h') 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 ); extern int fat_remove(struct fat_file *ent); extern int fat_truncate(const struct fat_file *ent); extern int fat_rename(struct fat_file* file, + struct fat_dir* dir, const unsigned char* newname, int size, int attr); -- cgit v1.2.3