Workaround the brokenness of realpath() a bit more.
commit8792ddeaba60d4f7d2ea9e342f7be7609b66d3c0
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 27 Jan 2011 20:17:55 +0000 (27 20:17 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 27 Jan 2011 20:17:55 +0000 (27 20:17 +0000)
tree1db8fb978d8cddbaf4a7414466bbd6f2e1f65d6a
parent33c3855f7868b5fa9895d3e8a9f077366f41c709
Workaround the brokenness of realpath() a bit more.

At least on android it blindly writes to the end of the buffer passed to it assuming it's sufficiently. It wasn't in our case, resulting in a buffer overflow (and breakage).
This should fix strange problems relating to database initialization on application targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29147 a1c6a512-1295-4272-9138-f99709370657
apps/tagcache.c