ruby-changes:4264
From: ko1@a...
Date: Wed, 12 Mar 2008 12:50:12 +0900 (JST)
Subject: [ruby-changes:4264] nobu - Ruby:r15754 (trunk, ruby_1_8): * gc.c: removed trailing spaces.
nobu 2008-03-12 12:49:55 +0900 (Wed, 12 Mar 2008) New Revision: 15754 Modified files: branches/ruby_1_8/gc.c trunk/gc.c Log: * gc.c: removed trailing spaces. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/gc.c?r1=15754&r2=15753&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/gc.c?r1=15754&r2=15753&diff_format=u Index: gc.c =================================================================== --- gc.c (revision 15753) +++ gc.c (revision 15754) @@ -525,7 +525,7 @@ /* LOCK */ for (i=0; i<RUBY_VM_VALUE_CACHE_SIZE; i++) { VALUE v = rb_newobj_from_heap(); - + th->value_cache[i] = v; RBASIC(v)->flags = FL_MARK; } @@ -878,7 +878,7 @@ if (!mark_stack_overflow) { if (mark_stack_ptr - mark_stack < MARK_STACK_MAX) { *mark_stack_ptr = ptr; - mark_stack_ptr++; + mark_stack_ptr++; } else { mark_stack_overflow = 1; @@ -1403,7 +1403,7 @@ break; default: - rb_bug("gc_sweep(): unknown data type 0x%lx(%p)", + rb_bug("gc_sweep(): unknown data type 0x%lx(%p)", RANY(obj)->as.basic.flags & T_MASK, (void*)obj); } } @@ -2132,7 +2132,7 @@ * call-seq: * obj.__id__ => fixnum * obj.object_id => fixnum - * + * * Returns an integer identifier for <i>obj</i>. The same number will * be returned on all calls to <code>id</code> for a given object, and * no two active objects will share an id. @@ -2144,7 +2144,7 @@ /* * call-seq: * obj.hash => fixnum - * + * * Generates a <code>Fixnum</code> hash value for this object. This * function must have the property that <code>a.eql?(b)</code> implies * <code>a.hash == b.hash</code>. The hash value is used by class Index: ruby_1_8/gc.c =================================================================== --- ruby_1_8/gc.c (revision 15753) +++ ruby_1_8/gc.c (revision 15754) @@ -518,7 +518,7 @@ } #define MARK_STACK_EMPTY (mark_stack_ptr == mark_stack) - + static st_table *source_filenames; char * @@ -725,7 +725,7 @@ if (!mark_stack_overflow) { if (mark_stack_ptr - mark_stack < MARK_STACK_MAX) { *mark_stack_ptr = ptr; - mark_stack_ptr++; + mark_stack_ptr++; } else { mark_stack_overflow = 1; @@ -1958,7 +1958,7 @@ * call-seq: * obj.__id__ => fixnum * obj.object_id => fixnum - * + * * Returns an integer identifier for <i>obj</i>. The same number will * be returned on all calls to <code>id</code> for a given object, and * no two active objects will share an id. @@ -1970,7 +1970,7 @@ /* * call-seq: * obj.hash => fixnum - * + * * Generates a <code>Fixnum</code> hash value for this object. This * function must have the property that <code>a.eql?(b)</code> implies * <code>a.hash == b.hash</code>. The hash value is used by class -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/