ruby-changes:16109
From: naruse <ko1@a...>
Date: Sat, 29 May 2010 12:57:47 +0900 (JST)
Subject: [ruby-changes:16109] Ruby:r28063 (trunk): * encoding.c (rb_filesystem_encindex): avoid infinite require
naruse 2010-05-29 12:57:36 +0900 (Sat, 29 May 2010) New Revision: 28063 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28063 Log: * encoding.c (rb_filesystem_encindex): avoid infinite require loop. [ruby-core:30467] Modified files: trunk/ChangeLog trunk/encoding.c Index: encoding.c =================================================================== --- encoding.c (revision 28062) +++ encoding.c (revision 28063) @@ -1160,7 +1160,7 @@ { int idx = rb_enc_registered("filesystem"); if (idx < 0) - idx = enc_set_filesystem_encoding(); + idx = rb_ascii8bit_encindex(); return idx; } Index: ChangeLog =================================================================== --- ChangeLog (revision 28062) +++ ChangeLog (revision 28063) @@ -1,3 +1,8 @@ +Sat May 29 12:56:09 2010 NARUSE, Yui <naruse@r...> + + * encoding.c (rb_filesystem_encindex): avoid infinite require + loop. [ruby-core:30467] + Sat May 29 12:05:51 2010 Nobuyoshi Nakada <nobu@r...> * lib/rdoc/rdoc.rb (RDoc#read_file_contents): take care of BOM. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/