Overview
| Artifact ID: | 4f619d3c14574fb78f3912961cd4db85b83c2e96 |
|---|---|
| Ticket: | 1338280fffffffffffffffffffffffffffffffff
unset traces during namespace delete misbehave |
| User & Date: | msofer on 2005-10-30 01:58:07 |
Changes
- icomment:
Logged In: YES user_id=148712 As the order in which the variables are deleted is not specified, this script has been modified an added to the testsuite as Test trace-18.4: namespace eval ::ref {} set ::ref::var1 AAA trace add variable ::ref::var1 unset doTrace set ::ref::var2 BBB trace add variable ::ref::var2 {unset} doTrace proc doTrace {vtraced vidx op} { global info append info [catch {set ::$vtraced}][llength [info vars ::ref::*]] } set info {} namespace delete ::ref rename doTrace {} set info Note that the returned value is 0201 up to 8.4.7, and 0202 for HEAD and 8-4-branch. Note also that the *correct* return value is 1110 - as a variable should not exist when it's unset trace is running. - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"