diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-04-22 22:26:13 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-04-22 22:26:13 +0000 |
| commit | a07c73532c3c34648969dcaebd1e79921270f89a (patch) | |
| tree | c039304a56591f923aa86b4a161900769360ec94 /apps/plugin.c | |
| parent | b5a507bbdc1e10c9760ff4adbfc4d590c5f22d27 (diff) | |
| download | rockbox-a07c73532c3c34648969dcaebd1e79921270f89a.zip rockbox-a07c73532c3c34648969dcaebd1e79921270f89a.tar.gz rockbox-a07c73532c3c34648969dcaebd1e79921270f89a.tar.bz2 rockbox-a07c73532c3c34648969dcaebd1e79921270f89a.tar.xz | |
Bugfixes: (1) add_dir_entry() always appended new entries, although the code intended to reuse deleted entries. New code reuses deleted entries whenever possible. (2) If the code could not extend the dir to append new entries (FAT16 root dir or disk full), it failed because of (1). (3) Even if reuse had worked, it would never have reused entry 0. (4) Shortname char 0xE5->0x05 replacement to avoid treatment as free entry was done for all chars although it should only be done for the first. The 0x05->0xE5 replacement on read was missing altogether. (5) Obey directory size limit (65536 entries == 2 MB). Improvements: (1) The (undocumented) flags used by WinNT derivates to store the case of a shortname's name and extension part are now supported for reading. (2) smaller code size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6332 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
0 files changed, 0 insertions, 0 deletions