]> git.tdb.fi Git - libs/core.git/commitdiff
Chdir into a sensible location before starting the application
authorMikko Rasa <tdb@tdb.fi>
Wed, 12 Nov 2014 20:22:15 +0000 (22:22 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 12 Nov 2014 20:22:15 +0000 (22:22 +0200)
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.


No differences found