This patch changes file loading behaivor, as to changing the working dir automatically to the dir of the loaded file, instead of something (to me) random (current behavior). Some apps depend on the working dir being the dir where the executable is. And those who don't don't care about working dir at all, so this is a good change.
On Fri, 30 Jan 2009 17:18:43 +0100, Thomas Martitz thomas.martitz@fhtw-berlin.de wrote:
This patch changes file loading behaivor, as to changing the working dir automatically to the dir of the loaded file, instead of something (to me) random (current behavior). Some apps depend on the working dir being the dir where the executable is. And those who don't don't care about working dir at all, so this is a good change.
Thanks, committed with a little change to free the retrieved working directory string.
Regards, Enrico