mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
Define user.home property on posix
This commit is contained in:
parent
451135aef3
commit
95cffe90b2
@ -838,6 +838,8 @@ extern "C" JNIEXPORT jobjectArray JNICALL
|
|||||||
add(e, array, index++, "user.dir=%s", getcwd(buffer, PATH_MAX));
|
add(e, array, index++, "user.dir=%s", getcwd(buffer, PATH_MAX));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add(e, array, index++, "user.home=%s", getenv("HOME"));
|
||||||
|
|
||||||
#endif // not Windows
|
#endif // not Windows
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user