Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 656ff056c372e73e1814a4481924bcecb6dde333
Ticket: 1187123fffffffffffffffffffffffffffffffff
booleans break EIAS
User & Date: msofer on 2005-04-21 19:14:51
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    The function that does not agree with the docs is
    Tcl_GetBooleanFromObj: what the code does is return the
    value of [expr !!$x] (or an error). What the docs say it
    does is identical to Tcl_GetBoolean.
    
    The part that is wrong is branded as
    /*
         * Use the obvious shortcuts for numerical values; if
    objPtr is not
         * of numerical type, parse its string rep.
         */
    
    Obvious maybe ... but wrong. This provides a
    "Tcl_GetTruthValueFromObj" or something like that.
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"