Overview
| Artifact ID: | bcf6b6fa96593c41b00588fcd0f21eca10d81058 |
|---|---|
| Ticket: | 3033206fffffffffffffffffffffffffffffffff
lib/ttrace.tcl uses ::version as temporary variable |
| User & Date: | dkf on 2010-07-26 05:23:42 |
Changes
- assignee changed to: "dkf"
- closedate changed to: "2010-07-25T22:23:42"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 Oh, that's Tcl's variable resolution rules. Yuck. Luckily in this case there's a way to write things that avoids the nastiness, changing (effectively) this: if {![catch {package require Thread} version]} { variable tvers $version ... } into this: if {![catch { variable tvers [package require Thread] }]} { ... } That version is hazard-free. - login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"