diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-24 10:58:33 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-24 10:58:33 +0000 |
commit | 3896936492a92a9a63fc0206a340816e50ad5a46 (patch) | |
tree | c70e40c42f5f65c3cfbc54d4db6352b81f28e6fd | |
parent | 78d2b008931ecfc68d5bdb26803460f2267c58c7 (diff) |
* string.c (rb_str_dump): should have removed commented out
unnecessary code. [ruby-cvs:27131]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | string.c | 1 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,7 @@ -Fri Oct 24 19:29:22 2008 URABE Shyouhei <shyouhei@ruby-lang.org> +Fri Oct 24 19:57:19 2008 Yukihiro Matsumoto <matz@ruby-lang.org> - * string.c (rb_str_dump): do not use C++ comment. + * string.c (rb_str_dump): should have removed commented out + unnecessary code. [ruby-cvs:27131] Fri Oct 24 19:16:36 2008 URABE Shyouhei <shyouhei@ruby-lang.org> @@ -4212,7 +4212,6 @@ rb_str_dump(VALUE str) sprintf(q, ".force_encoding(\"%s\")", enc->name); enc = rb_ascii8bit_encoding(); } - /* STR_SET_LEN(result, strlen(RSTRING_PTR(result))); */ OBJ_INFECT(result, str); /* result from dump is ASCII */ rb_enc_associate(result, enc); |