Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 000a860584ba4d9ed4519ae06120e50ca472df1d
Ticket: 224771ffffffffffffffffffffffffffffffffff
logical negation of string booleans fails with TCL_MEM_DEBUG
User & Date: ericm on 2000-12-06 21:49:31
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When Tcl has been compiled with TCL_MEM_DEBUG enabled, logical negation of string booleans fails (eg "set foo no; expr {!$foo}").
    
    In addition, the comment at the start of the INST_LNOT branch in TclExecuteByteCode (line 2508) states "The operand must be numeric."  Clearly this is no longer the case, at least since the modification to support logical negation of string booleans.  The comment should have been updated at the same time that the code was changed.
    
    Eric Melski
    The Other Tcl Guy
    ericm at interwoven.com
    
    
  4. foundin changed to: "obsolete: 8.4a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "ericm"
  9. subsystem changed to: ""
  10. title changed to:
    logical negation of string booleans fails with TCL_MEM_DEBUG
    
  11. type changed to: "Bug"