* marshal.c (id2encidx): duplicated entry for encoding name.
[ruby-dev:40388] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2ce744032b
commit
c1ad9a5fd1
@ -1,3 +1,8 @@
|
|||||||
|
Sat Feb 13 15:01:24 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* marshal.c (id2encidx): duplicated entry for encoding name.
|
||||||
|
[ruby-dev:40388]
|
||||||
|
|
||||||
Sat Feb 13 12:17:52 2010 Tanaka Akira <akr@fsij.org>
|
Sat Feb 13 12:17:52 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* lib/tempfile.rb (Tempfile::Remover): new class to replace
|
* lib/tempfile.rb (Tempfile::Remover): new class to replace
|
||||||
|
@ -1130,7 +1130,6 @@ id2encidx(ID id, VALUE val, struct load_arg *arg)
|
|||||||
{
|
{
|
||||||
if (id == rb_id_encoding()) {
|
if (id == rb_id_encoding()) {
|
||||||
int idx = rb_enc_find_index(StringValueCStr(val));
|
int idx = rb_enc_find_index(StringValueCStr(val));
|
||||||
r_entry(val, arg);
|
|
||||||
return idx;
|
return idx;
|
||||||
}
|
}
|
||||||
else if (id == rb_intern("E")) {
|
else if (id == rb_intern("E")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user