moai/moai-dev — pull request #903 by romainmoreau (2014-04-18 18:47:13+00:00)
Title: Remove call to getcwd for Android

It's a fix to the issue https://github.com/moai/moai-dev/issues/894.

In some cases, getcwd returns null which leads to a segmentation fault.
Moreover, the call isn't even needed because the Android host sets the working directory with a JNI call afterwards.

Builded on Windows and Linux.
Tested on Windows and Android.