ruby-changes:8383
From: matz <ko1@a...>
Date: Fri, 24 Oct 2008 20:00:56 +0900 (JST)
Subject: [ruby-changes:8383] Ruby:r19914 (trunk): * string.c (rb_str_dump): should have removed commented out
matz 2008-10-24 19:58:33 +0900 (Fri, 24 Oct 2008) New Revision: 19914 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19914 Log: * string.c (rb_str_dump): should have removed commented out unnecessary code. [ruby-cvs:27131] Modified files: trunk/ChangeLog trunk/string.c Index: ChangeLog =================================================================== --- ChangeLog (revision 19913) +++ ChangeLog (revision 19914) @@ -1,6 +1,7 @@ -Fri Oct 24 19:29:22 2008 URABE Shyouhei <shyouhei@r...> +Fri Oct 24 19:57:19 2008 Yukihiro Matsumoto <matz@r...> - * 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@r...> Index: string.c =================================================================== --- string.c (revision 19913) +++ string.c (revision 19914) @@ -4212,7 +4212,6 @@ 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); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/