summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 00:38:21 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-07-28 00:38:21 +0000
commite53a60147ba68ab98fbe7a078b43311274d59f00 (patch)
tree429b1639cf5264a18cde0f48880055692f385aa4
parent8bc55563db64a73d33fc5983d3f7232cbad50d38 (diff)
* cont.c: typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--cont.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ebd4b8023d..c6d6c3b66a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jul 28 09:38:03 2010 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * cont.c: typos.
+
Wed Jul 28 09:24:43 2010 NARUSE, Yui <naruse@ruby-lang.org>
* cont.c: (RB_PAGE_SIZE): renamed from PAGE_SIZE. [ruby-dev:41870]
diff --git a/cont.c b/cont.c
index db2a5a81b3..503cc5f475 100644
--- a/cont.c
+++ b/cont.c
@@ -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 @@ fiber_set_stack_location(void)
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