You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please
read the bug posting guidelines first.
ondrew
Posts: 20 Joined: Fri Oct 03, 2003 2:24 pm
Location: Czech Republic
Post
by ondrew » Wed May 04, 2005 7:17 am
Hi,
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
and should be
Code: Select all
#ifdef LINUX
getcwd(WorkingDirectory, (size_t)FILE_SYSTEM_MAX_PATH);
return WorkingDirectory;
#endif
jox
Bug Slayer
Posts: 726 Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany
Post
by jox » Wed May 04, 2005 11:25 am
This has been reported several times. Last time by me two weeks ago:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?p=37393
Hopefully Niko will fix it sometime.
It is like it is. And because it is like it is, things are like they are.
ondrew
Posts: 20 Joined: Fri Oct 03, 2003 2:24 pm
Location: Czech Republic
Post
by ondrew » Wed May 04, 2005 2:33 pm
Damn, I was so happy to find a bug and a fix, that I didn't even search the forum to check if it hasn't been already submitted
niko
Site Admin
Posts: 1759 Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:
Post
by niko » Thu May 05, 2005 11:14 am
Np, at least I got reminded of that bug, so I'll fix it in the next release.