ruby-changes:6261
From: shyouhei <ko1@a...>
Date: Tue, 1 Jul 2008 19:36:43 +0900 (JST)
Subject: [ruby-changes:6261] Ruby:r17775 (trunk): * ext/digest/digest.c (rb_digest_instance_inspect): constified.
shyouhei 2008-07-01 19:36:22 +0900 (Tue, 01 Jul 2008) New Revision: 17775 Modified files: trunk/ChangeLog trunk/ext/digest/digest.c trunk/variable.c Log: * ext/digest/digest.c (rb_digest_instance_inspect): constified. * variable.c (rb_path2class): field precision should have type int. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17775 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/variable.c?r1=17775&r2=17774&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17775&r2=17774&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/digest/digest.c?r1=17775&r2=17774&diff_format=u Index: ChangeLog =================================================================== --- ChangeLog (revision 17774) +++ ChangeLog (revision 17775) @@ -1,3 +1,9 @@ +Tue Jul 1 19:31:24 2008 URABE Shyouhei <shyouhei@r...> + + * ext/digest/digest.c (rb_digest_instance_inspect): constified. + + * variable.c (rb_path2class): field precision should have type int. + Tue Jul 1 19:01:00 2008 NARUSE, Yui <naruse@r...> * enc/shift_jis.c (code_is_ctype): HALF WIDTH KATAKANA is Index: variable.c =================================================================== --- variable.c (revision 17774) +++ variable.c (revision 17775) @@ -245,7 +245,7 @@ } if (!rb_const_defined(c, id)) { undefined_class: - rb_raise(rb_eArgError, "undefined class/module %.*s", p-path, path); + rb_raise(rb_eArgError, "undefined class/module %.*s", (int)(p-path), path); } c = rb_const_get_at(c, id); switch (TYPE(c)) { Index: ext/digest/digest.c =================================================================== --- ext/digest/digest.c (revision 17774) +++ ext/digest/digest.c (revision 17775) @@ -266,7 +266,7 @@ { VALUE str; size_t digest_len = 32; /* about this size at least */ - char *cname; + const char *cname; cname = rb_obj_classname(self); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/