mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Implement . and .. path in dircache to properly support moving files
to other directories without absolute destination path provided. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8866 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3b6141c7c6
commit
871575f0f0
2 changed files with 53 additions and 5 deletions
|
@ -24,11 +24,12 @@
|
|||
#ifdef HAVE_DIRCACHE
|
||||
|
||||
#define DIRCACHE_RESERVE (1024*64)
|
||||
#define DIRCACHE_LIMIT (1024*1024*3)
|
||||
#define DIRCACHE_LIMIT (1024*1024*6)
|
||||
#define DIRCACHE_FILE ROCKBOX_DIR "/dircache.dat"
|
||||
|
||||
/* Internal structures. */
|
||||
struct travel_data {
|
||||
struct dircache_entry *first;
|
||||
struct dircache_entry *ce;
|
||||
struct dircache_entry *down_entry;
|
||||
struct fat_dir *dir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue