no CODESET for us.
This commit is contained in:
parent
0f4db89f0d
commit
dd0498e6d3
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-libjava_java_lang_natSystem_cc,v 1.1 2002/05/29 10:39:53 espie Exp $
|
||||
--- libjava/java/lang/natSystem.cc.orig Wed May 29 12:06:34 2002
|
||||
+++ libjava/java/lang/natSystem.cc Wed May 29 12:07:10 2002
|
||||
@@ -174,7 +174,11 @@ static char *
|
||||
file_encoding ()
|
||||
{
|
||||
setlocale (LC_CTYPE, "");
|
||||
+#if defined(CODESET)
|
||||
char *e = nl_langinfo (CODESET);
|
||||
+#else
|
||||
+ char *e = NULL;
|
||||
+#endif
|
||||
if (e == NULL || *e == '\0')
|
||||
e = "8859_1";
|
||||
return e;
|
Loading…
Reference in New Issue
Block a user