ruby-changes:5904
From: usa <ko1@a...>
Date: Wed, 18 Jun 2008 19:22:19 +0900 (JST)
Subject: [ruby-changes:5904] Ruby:r17412 (trunk): * ruby.c (opt_W_getter): use ruby_verbose directly instead of parameter
usa 2008-06-18 19:22:06 +0900 (Wed, 18 Jun 2008)
New Revision: 17412
Modified files:
trunk/ChangeLog
trunk/ruby.c
Log:
* ruby.c (opt_W_getter): use ruby_verbose directly instead of parameter
because ruby_verbose is not a real variable, so the address of
parameter is not collect.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ruby.c?r1=17412&r2=17411&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17412&r2=17411&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 17411)
+++ ChangeLog (revision 17412)
@@ -1,3 +1,9 @@
+Wed Jun 18 19:20:00 2008 NAKAMURA Usaku <usa@r...>
+
+ * ruby.c (opt_W_getter): use ruby_verbose directly instead of parameter
+ because ruby_verbose is not a real variable, so the address of
+ parameter is not collect.
+
Wed Jun 18 18:31:03 2008 NAKAMURA Usaku <usa@r...>
* win32/win32.c (errmap): add some pipe errors.
Index: ruby.c
===================================================================
--- ruby.c (revision 17411)
+++ ruby.c (revision 17412)
@@ -1448,7 +1448,7 @@
static VALUE
opt_W_getter(VALUE val, ID id, VALUE *variable)
{
- switch (*variable) {
+ switch (ruby_verbose) {
case Qnil:
return INT2FIX(0);
case Qfalse:
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/