diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-06 12:48:43 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-06 12:48:43 +0000 |
| commit | e5af7b833f3d6ca47fb0f610f9e01ed6b07a02e7 (patch) | |
| tree | 27f9226e4a83fc69fec8f806f0c6cbbf6a6c7991 | |
| parent | 07e9bed1eaadb0a859c012134ad969aeabb28135 (diff) | |
| download | ruby-e5af7b833f3d6ca47fb0f610f9e01ed6b07a02e7.tar.gz ruby-e5af7b833f3d6ca47fb0f610f9e01ed6b07a02e7.tar.xz ruby-e5af7b833f3d6ca47fb0f610f9e01ed6b07a02e7.zip | |
* ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch
interpreter after initialization is done. [ruby-dev:27638]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | ext/tk/stubs.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Nov 6 21:46:59 2005 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp> + + * ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch + interpreter after initialization is done. [ruby-dev:27638] + Sun Nov 6 20:13:27 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * file.c (rb_file_s_readlink): readlink(2) on AIX fails with ERANGE if diff --git a/ext/tk/stubs.c b/ext/tk/stubs.c index 050333cf6..3fb3e5f2f 100644 --- a/ext/tk/stubs.c +++ b/ext/tk/stubs.c @@ -237,14 +237,14 @@ ruby_tcl_create_ip_and_stubs_init(st) return (Tcl_Interp*)NULL; } - _nativethread_consistency_check(tcl_ip); - if (!Tcl_InitStubs(tcl_ip, "8.1", 0)) { if (st) *st = FAIL_Tcl_InitStubs; (*p_Tcl_DeleteInterp)(tcl_ip); return (Tcl_Interp*)NULL; } + _nativethread_consistency_check(tcl_ip); + return tcl_ip; } } |
