summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-10 14:24:02 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-10 14:24:02 +0000
commit7eed90933c657e7cf5de50ae39ee0672dbb3d58e (patch)
tree0209d80f11ecdb697cba6b0be1ccd40c359b1096
parentc479bde4fe6486f2067c8a519714ee35e0411646 (diff)
* ext/tk/tcltklib.c (lib_eventloop_core): replace CHECK_INTS with
rb_thread_check_ints(). Because current code can't be compiled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/tk/tcltklib.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index abb0508..9fc94eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jun 10 23:18:09 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * ext/tk/tcltklib.c (lib_eventloop_core): replace CHECK_INTS with
+ rb_thread_check_ints(). Because current code can't be compiled.
+
Fri Jun 10 16:38:13 2011 NARUSE, Yui <naruse@ruby-lang.org>
* encoding.c (rb_locale_charmap): When ruby process is run as Windows
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c
index 7c5cc8a..d27af15 100644
--- a/ext/tk/tcltklib.c
+++ b/ext/tk/tcltklib.c
@@ -2530,7 +2530,7 @@ lib_eventloop_core(check_root, update_flag, check_var, interp)
#ifdef RUBY_USE_NATIVE_THREAD
/* if (update_flag == 0) CHECK_INTS; */ /*XXXXXXXXXXXXX TODO !!!! */
#else
- if (update_flag == 0) CHECK_INTS;
+ if (update_flag == 0) rb_thread_check_ints();
#endif
}