[前][次][番号順一覧][スレッド一覧]

ruby-changes:5636

From: nobu <ko1@a...>
Date: Fri, 13 Jun 2008 14:19:33 +0900 (JST)
Subject: [ruby-changes:5636] Ruby:r17143 (ruby_1_8): * gc.c (CHECK_STACK): STACK_LENGTH should be less than

nobu	2008-06-13 14:19:14 +0900 (Fri, 13 Jun 2008)

  New Revision: 17143

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/gc.c
    branches/ruby_1_8/version.h

  Log:
    * gc.c (CHECK_STACK): STACK_LENGTH should be less than
      STACK_LEVEL_MAX.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=17143&r2=17142&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/version.h?r1=17143&r2=17142&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/gc.c?r1=17143&r2=17142&diff_format=u

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 17142)
+++ ruby_1_8/ChangeLog	(revision 17143)
@@ -1,3 +1,8 @@
+Fri Jun 13 14:19:09 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* gc.c (CHECK_STACK): STACK_LENGTH should be less than
+	  STACK_LEVEL_MAX.
+
 Thu Jun 12 21:05:44 2008  NAKAMURA Usaku  <usa@r...>
 
 	* ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined.
Index: ruby_1_8/version.h
===================================================================
--- ruby_1_8/version.h	(revision 17142)
+++ ruby_1_8/version.h	(revision 17143)
@@ -1,7 +1,7 @@
 #define RUBY_VERSION "1.8.7"
-#define RUBY_RELEASE_DATE "2008-06-12"
+#define RUBY_RELEASE_DATE "2008-06-13"
 #define RUBY_VERSION_CODE 187
-#define RUBY_RELEASE_CODE 20080612
+#define RUBY_RELEASE_CODE 20080613
 #define RUBY_PATCHLEVEL 5000
 
 #define RUBY_VERSION_MAJOR 1
@@ -9,7 +9,7 @@
 #define RUBY_VERSION_TEENY 7
 #define RUBY_RELEASE_YEAR 2008
 #define RUBY_RELEASE_MONTH 6
-#define RUBY_RELEASE_DAY 12
+#define RUBY_RELEASE_DAY 13
 
 #ifdef RUBY_EXTERN
 RUBY_EXTERN const char ruby_version[];
Index: ruby_1_8/gc.c
===================================================================
--- ruby_1_8/gc.c	(revision 17142)
+++ ruby_1_8/gc.c	(revision 17143)
@@ -524,7 +524,7 @@
 
 #define CHECK_STACK(ret) do {\
     SET_STACK_END;\
-    (ret) = (STACK_LENGTH > STACK_LEVEL_MAX + GC_WATER_MARK);\
+    (ret) = (STACK_LENGTH > STACK_LEVEL_MAX - GC_WATER_MARK);\
 } while (0)
 
 int

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]