ruby-changes:12970
From: nobu <ko1@a...>
Date: Sun, 30 Aug 2009 14:51:35 +0900 (JST)
Subject: [ruby-changes:12970] Ruby:r24712 (ruby_1_8): * gc.c: removed garbage spaces.
nobu 2009-08-30 14:51:13 +0900 (Sun, 30 Aug 2009) New Revision: 24712 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24712 Log: * gc.c: removed garbage spaces. Modified files: branches/ruby_1_8/gc.c branches/ruby_1_8/version.h Index: ruby_1_8/version.h =================================================================== --- ruby_1_8/version.h (revision 24711) +++ ruby_1_8/version.h (revision 24712) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.8.8" -#define RUBY_RELEASE_DATE "2009-08-29" +#define RUBY_RELEASE_DATE "2009-08-30" #define RUBY_VERSION_CODE 188 -#define RUBY_RELEASE_CODE 20090829 +#define RUBY_RELEASE_CODE 20090830 #define RUBY_PATCHLEVEL -1 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 8 #define RUBY_RELEASE_YEAR 2009 #define RUBY_RELEASE_MONTH 8 -#define RUBY_RELEASE_DAY 29 +#define RUBY_RELEASE_DAY 30 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; Index: ruby_1_8/gc.c =================================================================== --- ruby_1_8/gc.c (revision 24711) +++ ruby_1_8/gc.c (revision 24712) @@ -1348,7 +1348,7 @@ break; case T_FILE: if (RANY(obj)->as.file.fptr) { - make_io_deferred(RANY(obj)); + make_io_deferred(RANY(obj)); return 1; } break; @@ -1975,7 +1975,7 @@ /* run finalizers */ if (need_call_final) { - finalize_deferred(); + finalize_deferred(); for (i = 0; i < heaps_used; i++) { p = heaps[i].slot; pend = p + heaps[i].limit; while (p < pend) { @@ -2005,16 +2005,16 @@ RUBY_CRITICAL(free(DATA_PTR(p))); } else if (RANY(p)->as.data.dfree) { - make_deferred(RANY(p)); - RANY(p)->as.free.next = final_list; - final_list = p; + make_deferred(RANY(p)); + RANY(p)->as.free.next = final_list; + final_list = p; } } else if (BUILTIN_TYPE(p) == T_FILE) { - if (RANY(p)->as.file.fptr) { - make_io_deferred(RANY(p)); - RANY(p)->as.free.next = final_list; - final_list = p; + if (RANY(p)->as.file.fptr) { + make_io_deferred(RANY(p)); + RANY(p)->as.free.next = final_list; + final_list = p; } } p++; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/