Artifacts Associated With Ticket 218263ffffffffff
Ticket change [c923378916] (rid 122231) by nobody on 2000-10-26 00:55:13:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3238 Bug Version: 8.0.5 SubmitDate: '1999-10-28' LastModified: '1999-10-29' Severity: SER Status: Closed Submitter: techsupp ChangedBy: hobbs OS: Linux-Red Hat OSVersion: 2.3.14 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-10-29' Name: Hannes Reinecke Extensions: None CustomShell: No ReproducibleScript: $ tclsh % expr 09 * 1 syntax error in expression "09 * 1" % expr 08 * 1 syntax error in expression "08 * 1" % expr 07 * 1 7 % expr 06 * 1 6 % info tclversion 8.0 ObservedBehavior: Expr seems to have problems with parsing '08' and '09'. All other combinations ('01' up to '07') are treated as numbers, whereas '08' and '09' results in a parsing error. DesiredBehavior: Consistent behaviour for expr. Either result _always_ in a parsing error on numbers starting with '0' (although in that case I'd rather like to see an explanation as to why) or treat '08' and '09' as numbers, as is done with the others. The same bug also appears in tcl8.2, so no hope there. Standard pilot error. The docs state that leading zeros indicate octal numbers (just like C), for which 08 and 09 are illegal. -- 10/29/1999 hobbs - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "expr parse failure on 08 and 09"
- type initialized to: "Bug"
Ticket change [3f93dc2146] (rid 121484) by welch on 2000-10-26 08:17:56:
- closedate changed to: "2000-10-26T01:17:56"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [d0a6a19dce] (rid 113219) by dgp on 2001-04-21 02:58:36:
- closedate changed to: "2001-04-20T19:58:36"
- closer changed to: "dgp"
- resolution changed to: "Invalid"
- subsystem changed to: "45. Parsing and Eval"