[lokisetup] symlink paths

Ryan C. Gordon icculus at clutteredmind.org
Fri Jul 26 15:46:41 EDT 2002


> PhysicsFS was a big help in the creation of my own get_absolute_path()
> function, but I must've given it too quickly a glance to have not even
> seen cases where the program was launched from a symlink. Thanks Ryan,
> and thanks Clement.

Oh, it does it elsewhere: __PHYSFS_platformRealPath(), which gets called
after it does the binary path locating...on Linux, this boils down to a
call to realpath().

--ryan.






More information about the Lokisetup mailing list