* parse.y (aref_args): forgot to call NEW_SPLAT(). reported by
Dave Butcher. * eval.c (Init_Thread): protect thgroup_default. suggested by Guy Decoux in [ruby-talk:80623] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
531310d20e
commit
b6feeb2945
@ -1,3 +1,11 @@
|
|||||||
|
Mon Sep 1 18:00:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* parse.y (aref_args): forgot to call NEW_SPLAT(). reported by
|
||||||
|
Dave Butcher.
|
||||||
|
|
||||||
|
* eval.c (Init_Thread): protect thgroup_default. suggested by Guy
|
||||||
|
Decoux in [ruby-talk:80623]
|
||||||
|
|
||||||
Mon Sep 1 16:59:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Sep 1 16:59:10 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (rb_thread_switch): add RESTORE_EXIT; exit by another
|
* eval.c (rb_thread_switch): add RESTORE_EXIT; exit by another
|
||||||
|
1
eval.c
1
eval.c
@ -10099,6 +10099,7 @@ Init_Thread()
|
|||||||
rb_define_method(cThGroup, "add", thgroup_add, 1);
|
rb_define_method(cThGroup, "add", thgroup_add, 1);
|
||||||
thgroup_default = rb_obj_alloc(cThGroup);
|
thgroup_default = rb_obj_alloc(cThGroup);
|
||||||
rb_define_const(cThGroup, "Default", thgroup_default);
|
rb_define_const(cThGroup, "Default", thgroup_default);
|
||||||
|
rb_global_variable(&thgroup_default);
|
||||||
|
|
||||||
/* allocate main thread */
|
/* allocate main thread */
|
||||||
main_thread = rb_thread_alloc(rb_cThread);
|
main_thread = rb_thread_alloc(rb_cThread);
|
||||||
|
@ -1317,7 +1317,7 @@ module Tk
|
|||||||
def frame
|
def frame
|
||||||
tk_call('wm', 'frame', path)
|
tk_call('wm', 'frame', path)
|
||||||
end
|
end
|
||||||
def geometry(geom)
|
def geometry(geom=nil)
|
||||||
if geom
|
if geom
|
||||||
tk_call('wm', 'geometry', path, geom)
|
tk_call('wm', 'geometry', path, geom)
|
||||||
self
|
self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user