not returning getWorkingDirectory value in Linux, solved
Posted: Wed May 04, 2005 7:17 am
Hi,
the getWorkingDirectory function always returns null under Linux. In CFileSystem.cpp, line 105-108 isand should be
the getWorkingDirectory function always returns null under Linux. In CFileSystem.cpp, line 105-108 is
Code: Select all
#ifdef LINUX
getcwd(WorkingDirectory, (size_t)FILE_SYSTEM_MAX_PATH);
#endif
Code: Select all
#ifdef LINUX
getcwd(WorkingDirectory, (size_t)FILE_SYSTEM_MAX_PATH);
return WorkingDirectory;
#endif