diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-24 10:30:09 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-24 10:30:09 +0000 |
commit | 78d2b008931ecfc68d5bdb26803460f2267c58c7 (patch) | |
tree | 7cac0ff0f2ed4a945dbfd040de0caba2c29d6f74 /string.c | |
parent | 5ff7af42b018aba8f0eaa36e647285d81e082e14 (diff) | |
download | ruby-78d2b008931ecfc68d5bdb26803460f2267c58c7.tar.gz |
* string.c (rb_str_dump): do not use C++ comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4212,7 +4212,7 @@ rb_str_dump(VALUE str) sprintf(q, ".force_encoding(\"%s\")", enc->name); enc = rb_ascii8bit_encoding(); } -// STR_SET_LEN(result, strlen(RSTRING_PTR(result))); + /* STR_SET_LEN(result, strlen(RSTRING_PTR(result))); */ OBJ_INFECT(result, str); /* result from dump is ASCII */ rb_enc_associate(result, enc); |