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/?a=commitdiff_plain;ds=sidebyside;h=fa82e97ed56597f2d968abdf4ebf688de4f9b618;hp=fa82e97ed56597f2d968abdf4ebf688de4f9b618;p=libs%2Fcore.git 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. ---