diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | string.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Oct 24 19:29:22 2008 URABE Shyouhei <shyouhei@ruby-lang.org> + + * string.c (rb_str_dump): do not use C++ comment. + Fri Oct 24 19:16:36 2008 URABE Shyouhei <shyouhei@ruby-lang.org> * id.h (enum ruby_method_ids): ISO C forbids comma at end of @@ -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); |
