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

* encoding.c (rb_enc_replicate): replica of dummy is a dummy.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-01-09 13:06:00 +00:00
parent b04f5e661f
commit ad4fb57a3a
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Wed Jan 9 22:03:26 2008 NARUSE, Yui <naruse@ruby-lang.org>
* encoding.c (rb_enc_replicate): replica of dummy is a dummy.
Wed Jan 9 20:35:42 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields.

View file

@ -207,6 +207,7 @@ set_base_encoding(int index, rb_encoding *base)
VALUE enc = rb_enc_from_encoding(enc_table[index].enc);
rb_ivar_set(enc, id_base_encoding, rb_enc_from_encoding(base));
if (ENC_DUMMY_P(base)) FL_SET(enc, ENC_DUMMY);
return enc;
}