Overview
| Artifact ID: | 8289b2c4677cfe0b9f461a9809b66884042fb025 |
|---|---|
| Ticket: | 2481670fffffffffffffffffffffffffffffffff
[clock add] error |
| User & Date: | talvo on 2009-01-02 01:25:37 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The code for the [clock add] command (in [tcl::clock::add]) eferences a variable by the wrong name when it tries to throw an error for an incorrect flag. For example: clock add 1231862400 1 year -foo bar can't read "flag": no such variable while executing "list CLOCK badSwitch $flag" (procedure "::tcl::clock::add" line 37) invoked from within "clock add 1231862400 1 year -foo bar" The problem is about 37 lines into tcl::clock::add - in the line return -code error -errorcode [list CLOCK badSwitch $flag] "bad switch \"$flag\", must be -gmt, -locale or -timezone" both instances of $flag should be $a. From http://wiki.tcl.tk/22183 - 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: "talvo"
- subsystem changed to: "None"
- title changed to: "[clock add] error"
- type changed to: "Support"