Ryan C. Gordon
cd5362cc57
Removed a bogus FIXME.
2012-03-22 03:15:50 -04:00
Ryan C. Gordon
60aa0e460c
Make sure the prefdir has a final dirsep on it.
...
This matches the behaviour of PHYSFS_getBaseDir() and PHYSFS_getUserDir().
2012-03-21 23:59:43 -04:00
Ryan C. Gordon
24d6a925d1
Added PHYSFS_getPrefDir().
2012-03-21 23:30:50 -04:00
Ryan C. Gordon
ba676b23e5
Reworked the error reporting API. Now we use error codes instead of strings.
...
This is based on work originally done by Christoph Nelles.
2012-03-20 15:38:12 -04:00
Ryan C. Gordon
e5fa9ab9fc
Minor code style cleanup in platform_beos.cpp ...
2012-03-19 02:58:41 -04:00
Ryan C. Gordon
466f538926
Reworked BeOS CD detection code.
...
Cleaned up, removed a malloc(), removed unnecessary BAIL macros.
2012-03-14 21:24:32 -04:00
Ryan C. Gordon
611aeec61b
Removed __PHYSFS_platformRealPath().
...
It was an ugly piece of code, didn't work on The Hurd (apparently), likely
dangerous in its incomplete understanding of Windows paths, and only
used in places that should have given us normalized, absolute
paths in the first place anyhow.
2012-03-11 04:19:36 -04:00
Ryan C. Gordon
c94d70ec0a
Moved __PHYSFS_platformCurrentDir() from Unix to POSIX sources.
...
getcwd() is part of POSIX, after all.
2012-03-11 03:43:07 -04:00
Ryan C. Gordon
5f5775c1ec
Haiku fixes, merged from stable-2.0 branch.
2010-12-30 19:50:58 -05:00
Ryan C. Gordon
7d253b13ed
Fixed leaking file handle on BeOS during CD-ROM detection.
2010-11-14 00:43:47 -05:00
Ryan C. Gordon
f871802f51
Cleaned up some #includes.
2010-09-06 19:35:01 -04:00
Ryan C. Gordon
cef8847a06
Attempt to clean up the thread ID mess in platform_unix ...
2009-09-06 01:05:27 -04:00
Ryan C. Gordon
2a65060cde
Moved directory structure around.
2009-03-27 15:10:42 -04:00