1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* encoding.c (default_external): endless recursion during

loading a locale encoding on some locale.
  fixed by Nobuyuki Nakada.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-12-13 07:08:56 +00:00
parent e53990e4bd
commit 87f6de3e18
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Sat Dec 13 16:04:48 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
* encoding.c (default_external): endless recursion during
loading a locale encoding on some locale.
fixed by Nobuyuki Nakada.
Sat Dec 13 15:55:37 2008 TAKAO Kouji <kouji@takao7.net>
* ruby.c (process_options): fixed default_internal is nil.

View file

@ -1066,7 +1066,7 @@ enc_set_default_encoding(struct default_encoding *def, VALUE encoding,
return overridden;
}
static struct default_encoding default_external = {-2};
static struct default_encoding default_external = {0};
rb_encoding *
rb_default_external_encoding(void)