diff options
author | dgp <dgp@users.sourceforge.net> | 2016-07-11 22:04:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-07-11 22:04:34 (GMT) |
commit | d5fb92d9a3b12235bbc9f52ea42f6ccec4978c55 (patch) | |
tree | 829ddf9f4d9b3bc15a5d3e45a6b7fb7af3513029 | |
parent | 6abeee6109c0fc8822a47a1f586645df9ed5a141 (diff) | |
parent | e0a474120456c4582b0dc3e64f1f21356a8e5c9c (diff) | |
download | tcl-d5fb92d9a3b12235bbc9f52ea42f6ccec4978c55.zip tcl-d5fb92d9a3b12235bbc9f52ea42f6ccec4978c55.tar.gz tcl-d5fb92d9a3b12235bbc9f52ea42f6ccec4978c55.tar.bz2 |
merge trunk
-rw-r--r-- | generic/tclExecute.c | 7 | ||||
-rw-r--r-- | tests/namespace.test | 7 | ||||
-rw-r--r-- | tests/socket.test | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index c01f11c..3b23b80 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -2079,6 +2079,13 @@ TclNRExecuteByteCode( #endif /* + * Test namespace-50.9 demonstrates the need for this call. + * Use a --enable-symbols=mem bug to see. + */ + + TclResetRewriteEnsemble(interp, 1); + + /* * Push the callback for bytecode execution */ diff --git a/tests/namespace.test b/tests/namespace.test index 086baf5..0bbf2f7 100644 --- a/tests/namespace.test +++ b/tests/namespace.test @@ -2356,6 +2356,13 @@ test namespace-50.8 {[f961d7d1dd]} -setup { rename e {} rename target {} } +test namespace-50.9 {[cea0344a51]} -body { + namespace eval foo { + namespace eval bar { + namespace delete foo + } + } +} -returnCodes error -result {unknown namespace "foo" in namespace delete command} test namespace-51.1 {name resolution path control} -body { namespace eval ::test_ns_1 { diff --git a/tests/socket.test b/tests/socket.test index 8473602..d43c41c 100644 --- a/tests/socket.test +++ b/tests/socket.test @@ -1782,7 +1782,6 @@ test socket_$af-13.1 {Testing use of shared socket between two threads} -body { set i 0 vwait x close $f - thread::wait }]] set port [thread::send $serverthread {set listen}] set s [socket $localhost $port] |