From: Mikko Rasa Date: Wed, 12 Nov 2014 20:22:15 +0000 (+0200) Subject: Chdir into a sensible location before starting the application X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=commitdiff_plain;h=fa82e97ed56597f2d968abdf4ebf688de4f9b618;hp=fa82e97ed56597f2d968abdf4ebf688de4f9b618 Chdir into a sensible location before starting the application System location accessors will ultimately return this directory. The default is /, which can easily cause problems. In particular, many of my applications expect to have their data in get_sys_data_dir()/"data". On Android /data exists but is not readable. ---