--- a/platform/beos.cpp Wed Mar 21 04:31:13 2007 +0000
+++ b/platform/beos.cpp Wed Mar 21 05:03:17 2007 +0000
@@ -30,9 +30,6 @@
#include "physfs_internal.h"
-const char *__PHYSFS_platformDirSeparator = "/";
-
-
int __PHYSFS_platformInit(void)
{
return(1); /* always succeed. */
@@ -158,7 +155,7 @@
thread_id tid = find_thread(NULL);
get_thread_info(tid, &info);
return(info.team);
-} /* getMyTeamID */
+} /* getTeamID */
char *__PHYSFS_platformCalcBaseDir(const char *argv0)
@@ -201,6 +198,12 @@
} /* __PHYSFS_platformRealPath */
+char *__PHYSFS_platformCurrentDir(void)
+{
+ return(__PHYSFS_platformRealPath(".")); /* let BPath sort it out. */
+} /* __PHYSFS_platformCurrentDir */
+
+
/* !!! FIXME: semaphores are not mutexes... */
void *__PHYSFS_platformCreateMutex(void)
{