Implemented FileSystems on Linux.

This commit is contained in:
Adam Murdoch
2012-08-12 12:59:00 +10:00
parent b494c52441
commit 058df967a4
4 changed files with 43 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ Java_net_rubygrapefruit_platform_internal_jni_NativeLibraryFunctions_getSystemIn
jclass infoClass = env->GetObjectClass(info);
// Empty string means load locale from environment.
locale_t locale = newlocale(LC_CTYPE_MASK, "", LC_GLOBAL_LOCALE);
locale_t locale = newlocale(LC_CTYPE_MASK, "", NULL);
if (locale == NULL) {
mark_failed_with_message(env, "could not create locale", result);
return;