Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 08751861ad1115429bf939c2d46489086bed736e
Ticket: 1109484fffffffffffffffffffffffffffffffff
Tcl_Expr* do not gracefully handle wide ints
User & Date: hobbs on 2005-01-25 23:48:10
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The Tcl_Expr* functions in tclBasic.c do checks on the
    return value to see if it is int or double, but the
    value could be a wide int that fits into the requisite
    size.  That would prevent an error condition.  See this
    example from TclX:
    
    package require Tclx 8.4
    (Tcl) 57 % crange abc 1 {end-[expr 1]}
    b
    (Tcl) 58 % crange abc 1 {end-[expr wide(1)]}
    expression didn't have numeric value
    
    
  4. foundin changed to: "obsolete: 8.4.9"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "hobbs"
  9. subsystem changed to: "10. Objects"
  10. title changed to: "Tcl_Expr* do not gracefully handle wide ints"
  11. type changed to: "Bug"