Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 05524a09d590a14d34a0418b8e758402a6377d92
Ticket: 542588ffffffffffffffffffffffffffffffffff
bug in expr error handler
User & Date: dkf on 2002-04-18 15:28:57
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Problem is really that GET_WIDE_OR_INT (really just
    Tcl_Get(Wide)IntFromObj) is failing due to integer range
    overflow, and the code as it stands does not check for that
    error case.  However, you can't always feed the value to
    parse into Tcl_GetDoubleFromObj when GET_WIDE_OR_INT fails
    due to things like invalid octal.  What's worse, the nature
    of the failure has vanished at this point because
    GET_WIDE_OR_INT does not use an interpreter, and
    Tcl_Get(Wide)IntFromObj resets errno...  :^(
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"