diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-07-30 23:21:58 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-07-30 23:21:58 +0000 |
| commit | 32b54164d88e9155b5b01a51cad71017ecf7294a (patch) | |
| tree | 53bebd17ef4767d4fa5641e69a02a2449576c41a /apps | |
| parent | 564b696500d579972e6bab9afd1bdab0454423a9 (diff) | |
| download | rockbox-32b54164d88e9155b5b01a51cad71017ecf7294a.zip rockbox-32b54164d88e9155b5b01a51cad71017ecf7294a.tar.gz rockbox-32b54164d88e9155b5b01a51cad71017ecf7294a.tar.bz2 rockbox-32b54164d88e9155b5b01a51cad71017ecf7294a.tar.xz | |
Dircache: Fix 2 nasty bugs introduced with the reworks starting with r30032.
The first is an off-by-one that leads to miscalculation of the dircache size.
The format string size was used but dircache size was incremented by the snprintf() result which is smaller.
The other forgot to update the location of the "." and ".." strings upon compaction,
so that new folders got assigned orphaned pointers for those directory entires.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30224 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions