ruby-changes:21372
From: kazu <ko1@a...>
Date: Thu, 6 Oct 2011 20:55:51 +0900 (JST)
Subject: [ruby-changes:21372] kazu:r33421 (trunk): fix typos
kazu 2011-10-06 20:51:55 +0900 (Thu, 06 Oct 2011) New Revision: 33421 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33421 Log: fix typos Modified files: trunk/ChangeLog trunk/vm_eval.c trunk/vm_insnhelper.c trunk/vm_insnhelper.h Index: ChangeLog =================================================================== --- ChangeLog (revision 33420) +++ ChangeLog (revision 33421) @@ -1,3 +1,9 @@ +Thu Oct 6 18:46:23 2011 Kazuhiro NISHIYAMA <zn@m...> + + * vm_eval.c (make_no_method_exception): fix typo. + + * vm_insnhelper.c, vm_insnhelper.h: ditto. + Thu Oct 6 16:29:30 2011 Nobuyoshi Nakada <nobu@r...> * vm_eval.c (make_no_method_execption): extract from @@ -118,7 +124,7 @@ Tue Oct 4 07:43:18 2011 Eric Hodel <drbrain@s...> - * array.c (rb_ary_initalize): Make Array.new description match + * array.c (rb_ary_initialize): Make Array.new description match call-seq. Patch by Henry Maddocks. [Ruby 1.9 - Bug #5344] Tue Oct 4 07:35:23 2011 Eric Hodel <drbrain@s...> Index: vm_eval.c =================================================================== --- vm_eval.c (revision 33420) +++ vm_eval.c (revision 33421) @@ -496,7 +496,7 @@ #define NOEX_MISSING 0x80 static VALUE -make_no_method_execption(VALUE exc, const char *format, VALUE obj, int argc, const VALUE *argv) +make_no_method_exception(VALUE exc, const char *format, VALUE obj, int argc, const VALUE *argv) { int n = 0; VALUE mesg; @@ -550,7 +550,7 @@ } { - exc = make_no_method_execption(exc, format, obj, argc, argv); + exc = make_no_method_exception(exc, format, obj, argc, argv); if (!(last_call_status & NOEX_MISSING)) { th->cfp = RUBY_VM_PREVIOUS_CONTROL_FRAME(th->cfp); } @@ -717,7 +717,7 @@ id = rb_check_id(&vid); if (!id) { if (rb_method_basic_definition_p(CLASS_OF(recv), idMethodMissing)) { - VALUE exc = make_no_method_execption(rb_eNoMethodError, NULL, + VALUE exc = make_no_method_exception(rb_eNoMethodError, NULL, recv, ++argc, --argv); rb_exc_raise(exc); } Index: vm_insnhelper.c =================================================================== --- vm_insnhelper.c (revision 33420) +++ vm_insnhelper.c (revision 33421) @@ -589,7 +589,7 @@ } else if (!(id = rb_check_id(&sym))) { if (rb_method_basic_definition_p(CLASS_OF(recv), idMethodMissing)) { - VALUE exc = make_no_method_execption(rb_eNoMethodError, NULL, recv, + VALUE exc = make_no_method_exception(rb_eNoMethodError, NULL, recv, rb_long2int(num), &TOPN(i)); rb_exc_raise(exc); } Index: vm_insnhelper.h =================================================================== --- vm_insnhelper.h (revision 33420) +++ vm_insnhelper.h (revision 33421) @@ -226,7 +226,7 @@ } while (0) static void vm_clear_all_cache(void); -static VALUE make_no_method_execption(VALUE exc, const char *format, +static VALUE make_no_method_exception(VALUE exc, const char *format, VALUE obj, int argc, const VALUE *argv); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/