summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-07-31 10:33:27 +0200
committerThomas Martitz <kugel@rockbox.org>2012-07-31 10:33:27 +0200
commitefe73e143ad8997a791b895c9ee21a68b6570429 (patch)
treed206dd97632286975a271ea1502f35b56165767f /firmware/common
parentb358bcfc25272cb03dc95809c0c82688943f0f84 (diff)
downloadrockbox-efe73e143ad8997a791b895c9ee21a68b6570429.tar.gz
rockbox-efe73e143ad8997a791b895c9ee21a68b6570429.zip
Fix database tool.
It was also broken functionally, probably since a while.So restore the functionality. Run it on the dap, the tcd files will be placed into .rockbox folder. Change-Id: Id7a6ce4389dfaf99799258902be80d630af0601c
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/filefuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/filefuncs.c b/firmware/common/filefuncs.c
index fd33f3c6f9..f969a011b7 100644
--- a/firmware/common/filefuncs.c
+++ b/firmware/common/filefuncs.c
@@ -55,6 +55,7 @@ int strip_volume(const char* name, char* namecopy)
55} 55}
56#endif /* #ifdef HAVE_MULTIVOLUME */ 56#endif /* #ifdef HAVE_MULTIVOLUME */
57 57
58#endif /* __PCTOOL__ */
58/* Test file existence, using dircache of possible */ 59/* Test file existence, using dircache of possible */
59bool file_exists(const char *file) 60bool file_exists(const char *file)
60{ 61{
@@ -89,7 +90,6 @@ bool dir_exists(const char *path)
89 return true; 90 return true;
90} 91}
91 92
92#endif /* __PCTOOL__ */
93 93
94#if (CONFIG_PLATFORM & (PLATFORM_NATIVE|PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) 94#if (CONFIG_PLATFORM & (PLATFORM_NATIVE|PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA))
95struct dirinfo dir_get_info(DIR* parent, struct dirent *entry) 95struct dirinfo dir_get_info(DIR* parent, struct dirent *entry)