rockbox/firmware/common
Thomas Martitz 9886126858 Fix FS#12325 - screen corruption on early usb.
When booting with USB inserted, the dircache build can get interrupted by the usb connection, in which case the dircache buffer is freed.
Due to a bug the re-creation of dircache used the old freed buffer and overwrite new allocs (causing screen corruption).

Set allocated_size to 0 to make it not take the code path that assumes an existing buffer,
and bring that and freeing together in the code.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30845 a1c6a512-1295-4272-9138-f99709370657
2011-10-28 16:38:52 +00:00
..
config.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
crc32-mi4.c
crc32.c
diacritic.c FS#11187 - diacritic.c is in 'drivers' but it does not belong there 2010-04-07 20:41:18 +00:00
dir_uncached.c Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead. 2011-02-02 17:43:32 +00:00
dircache.c Fix FS#12325 - screen corruption on early usb. 2011-10-28 16:38:52 +00:00
disk.c revert r30566 and r30567 to fix FS#12294 (superfloppy not mounting) 2011-10-02 11:39:31 +00:00
ffs.c
file.c Dircache: Don't expose struct dircache_entry and pointers into the cache, use IDs instead. 2011-06-20 20:12:42 +00:00
filefuncs.c Dircache: Don't expose struct dircache_entry and pointers into the cache, use IDs instead. 2011-06-20 20:12:42 +00:00
format.c format/*printf: Add simple support for %p format specifier. 2011-08-04 10:44:41 +00:00
memset16.c Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h. 2010-08-12 13:55:01 +00:00
rbpaths.c RaaA: Fix write locations of plugins 2011-03-02 23:43:54 +00:00
strcasecmp.c Optimize (size and speed) strncasecmp (based on a newlib patch). 2010-02-07 00:37:47 +00:00
strcasestr.c
strlcat.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strlcpy.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
strnatcmp.c Remove tabs in firmware path (taking into account the original spacing). 2010-02-22 21:24:09 +00:00
structec.c
timefuncs.c Return -1 for not implemented RTC functions. 2011-03-08 21:36:47 +00:00
unicode.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
version.c Don't autogenerate version.c. Just version.h is enough 2010-06-21 00:18:29 +00:00