rockbox/firmware/common
Thomas Martitz 771011a6fc RaaA: Fix database duplication issue on every start
The code in tagcache.c:commit() was unable to delete
the to-be-commited database file as it read from
$(HOME)/.config/rockbox.org and tried to delete
the file later on in /.rockbox/.

As we didn't specify any flags like IS_FILE or NEED_WRITE
in _get_user_file_path() (which is called by f.e. app_remove()),
it searched for the file in two places.

In case of app_rename() IS_FILE would be wrong, so we just
add a NEED_WRITE to any write operation.

Author: Thomas Jarosch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29148 a1c6a512-1295-4272-9138-f99709370657
2011-01-27 21:09:25 +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 Accept FS#11774 by Michael Hohmuth (with some own modifications to #ifdef conditions) 2010-11-28 15:22:51 +00:00
dircache.c Get rid of get_user_file_path and do the path handling in wrappers for open() and friends. 2010-12-06 22:26:31 +00:00
disk.c Autodetect sector size on superfloppy volumes based on the FAT32 BPB (kudos to Frank Gevaerts) 2011-01-02 22:28:22 +00:00
ffs.c
file.c Accept FS#11774 by Michael Hohmuth (with some own modifications to #ifdef conditions) 2010-11-28 15:22:51 +00:00
filefuncs.c file_exists(): fix DEBUGF() 2010-09-20 16:39:22 +00:00
format.c format() (and its alias vuprintf) return values are uncheck -> void 2010-09-20 08:55:45 +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 database duplication issue on every start 2011-01-27 21:09:25 +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 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
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