Make getcwd match the posix variant, make get_current_file() behave similar to it...
commit6ad1ddbb07d10428b9429ac0b25a0c86cdca4fc3
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 27 Aug 2010 10:33:09 +0000 (27 10:33 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Fri, 27 Aug 2010 10:33:09 +0000 (27 10:33 +0000)
treefc06addfd06c88337ccaca1ee79bda6809cf9cfd
parent262a5aeea42607d6fed7b87fcbd3794de5b146f8
Make getcwd match the posix variant, make get_current_file() behave similar to it and add a few sanity checks.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27903 a1c6a512-1295-4272-9138-f99709370657
apps/root_menu.c
apps/tree.c
apps/tree.h