ruby-changes:9375
From: nagai <ko1@a...>
Date: Mon, 22 Dec 2008 18:04:29 +0900 (JST)
Subject: [ruby-changes:9375] Ruby:r20913 (trunk): * ext/tk/tcltklib.c: fix wrong flag value.
nagai 2008-12-22 18:04:14 +0900 (Mon, 22 Dec 2008) New Revision: 20913 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20913 Log: * ext/tk/tcltklib.c: fix wrong flag value. Modified files: trunk/ChangeLog trunk/ext/tk/tcltklib.c Index: ChangeLog =================================================================== --- ChangeLog (revision 20912) +++ ChangeLog (revision 20913) @@ -1,3 +1,7 @@ +Mon Dec 22 18:00:36 2008 Hidetoshi NAGAI <nagai@a...> + + * ext/tk/tcltklib.c: fix wrong flag value. + Mon Dec 22 12:26:18 2008 Nobuyoshi Nakada <nobu@r...> * cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rb Index: ext/tk/tcltklib.c =================================================================== --- ext/tk/tcltklib.c (revision 20912) +++ ext/tk/tcltklib.c (revision 20913) @@ -4,7 +4,7 @@ * Oct. 24, 1997 Y. Matsumoto */ -#define TCLTKLIB_RELEASE_DATE "2008-12-03" +#define TCLTKLIB_RELEASE_DATE "2008-12-22" #include "ruby.h" @@ -411,7 +411,7 @@ Tcl_ThreadId tk_eventloop_thread_id; /* native thread ID of Tcl interpreter */ #endif static VALUE eventloop_stack; -static int window_event_mode = ( ~ TCL_IDLE_EVENTS | TCL_WINDOW_EVENTS ); +static int window_event_mode = ~0; static VALUE watchdog_thread; @@ -1187,7 +1187,7 @@ if (RTEST(mode)) { window_event_mode = ~0; } else { - window_event_mode = ~(TCL_WINDOW_EVENTS | TCL_IDLE_EVENTS); + window_event_mode = ~TCL_WINDOW_EVENTS; } return mode; @@ -10152,3 +10152,4 @@ } /* eof */ + -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/