diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-01-27 21:09:25 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-01-27 21:09:25 +0000 |
commit | 771011a6fc935dd8fa30641971678d7e38821f2a (patch) | |
tree | 76f5eeb952ac8cb6b31572955720e0bfd20fdf58 /apps | |
parent | b703d251be071d0d1bbb7abe458cc0bd215052e0 (diff) | |
download | rockbox-771011a6fc935dd8fa30641971678d7e38821f2a.tar.gz rockbox-771011a6fc935dd8fa30641971678d7e38821f2a.zip |
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
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions