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

ruby-changes:16774

From: usa <ko1@a...>
Date: Wed, 28 Jul 2010 09:38:42 +0900 (JST)
Subject: [ruby-changes:16774] Ruby:r28770 (trunk): * cont.c: typos.

usa	2010-07-28 09:38:21 +0900 (Wed, 28 Jul 2010)

  New Revision: 28770

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28770

  Log:
    * cont.c: typos.

  Modified files:
    trunk/ChangeLog
    trunk/cont.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 28769)
+++ ChangeLog	(revision 28770)
@@ -1,3 +1,7 @@
+Wed Jul 28 09:38:03 2010  NAKAMURA Usaku  <usa@r...>
+
+	* cont.c: typos.
+
 Wed Jul 28 09:24:43 2010  NARUSE, Yui  <naruse@r...>
 
 	* cont.c: (RB_PAGE_SIZE): renamed from PAGE_SIZE. [ruby-dev:41870]
Index: cont.c
===================================================================
--- cont.c	(revision 28769)
+++ cont.c	(revision 28770)
@@ -41,7 +41,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <ucontext.h>
-# clean cast warnings.endif
+#endif
 #define RB_PAGE_SIZE (pagesize)
 #define RB_PAGE_MASK (~(RB_PAGE_SIZE - 1))
 static long pagesize;
@@ -498,7 +498,7 @@
     VALUE *ptr;
 
     SET_MACHINE_STACK_END(&ptr);
-    th->machine_stack_start = (void*)(((VALUE)ptr & PAGE_MASK) + STACK_UPPER(&ptr, 0, RB_PAGE_SIZE));
+    th->machine_stack_start = (void*)(((VALUE)ptr & RB_PAGE_MASK) + STACK_UPPER(&ptr, 0, RB_PAGE_SIZE));
 }
 
 static VOID CALLBACK

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

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