[前][次][番号順一覧][スレッド一覧]

ruby-changes:8382

From: shyouhei <ko1@a...>
Date: Fri, 24 Oct 2008 19:30:24 +0900 (JST)
Subject: [ruby-changes:8382] Ruby:r19913 (trunk): * string.c (rb_str_dump): do not use C++ comment.

shyouhei	2008-10-24 19:30:09 +0900 (Fri, 24 Oct 2008)

  New Revision: 19913

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19913

  Log:
    * string.c (rb_str_dump): do not use C++ comment.

  Modified files:
    trunk/ChangeLog
    trunk/string.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19912)
+++ ChangeLog	(revision 19913)
@@ -1,3 +1,7 @@
+Fri Oct 24 19:29:22 2008  URABE Shyouhei  <shyouhei@r...>
+
+	* string.c (rb_str_dump): do not use C++ comment.
+
 Fri Oct 24 19:16:36 2008  URABE Shyouhei  <shyouhei@r...>
 
 	* id.h (enum ruby_method_ids): ISO C forbids comma at end of
Index: string.c
===================================================================
--- string.c	(revision 19912)
+++ string.c	(revision 19913)
@@ -4212,7 +4212,7 @@
 	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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]