Skip to content
Tcl Source Code History Of Ticket 218263
Login

History Of Ticket 218263

Artifacts Associated With Ticket 218263

  1. Ticket change [c923378916] (rid 122231) by nobody on 2000-10-26 00:55:13:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "final: 8.0.5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "expr parse failure on 08 and 09"
    11. type initialized to: "Bug"
  2. Ticket change [3f93dc2146] (rid 121484) by welch on 2000-10-26 08:17:56:

    1. closedate changed to: "2000-10-26T01:17:56"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [d0a6a19dce] (rid 113219) by dgp on 2001-04-21 02:58:36:

    1. closedate changed to: "2001-04-20T19:58:36"
    2. closer changed to: "dgp"
    3. resolution changed to: "Invalid"
    4. subsystem changed to: "45. Parsing and Eval"