Overview
| Artifact ID: | 481a254e60d63a15d424058aa189cabd41da3beb |
|---|---|
| Ticket: | 3033206fffffffffffffffffffffffffffffffff
lib/ttrace.tcl uses ::version as temporary variable |
| User & Date: | thommey on 2010-07-22 19:39:27 |
Changes
- assignee changed to: "vasiljevic"
- cmimetype changed to: "text/plain"
- comment changed to:
The thread package includes lib/ttrace.tcl - loaded by [package require Ttrace] - uses $::version to temporarily store the result of [package require Thread] in a catch ("catch {package require Thread} version"). This global variable is unfortunately very likely to be used by applications (embedders mostly?) to hold their own version number. Eggdrop, for example, protects that variable as read-only with a write trace, causing [package require Ttrace] to fail because it can't write to that variable (and even if it could, it would overwrite Eggdrops version number and existing Tcl scripts for Eggdrop rely on it). I'd suggest changing it to anything else or a namespace variable. - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "thommey"
- subsystem changed to: "80. Thread Package"
- title changed to:
lib/ttrace.tcl uses ::version as temporary variable
- type changed to: "Bug"