Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 04fb5b538c2a1e2171504e33466e926dc0df347b
Ticket: 1997860fffffffffffffffffffffffffffffffff
Tcl_GetInterpPath : minor bug in result affectation
User & Date: nicolascastagne on 2008-06-19 13:31:45
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    As far as I checked,
       Tcl_GetInterpPath
    appends the slave's path to the current master's result, instead of setting the master's result.
    
    The following code (sorry for mixing Qt, but eh, it should be easy to understand !) :
    
    qDebug () << Tcl_GetStringResult A: "<< Tcl_GetStringResult(_interpMaster);
    Tcl_GetInterpPath(_interpMaster, _interpSlave);
    qDebug () << Tcl_GetStringResult B: "<<  Tcl_GetStringResult(_interpMaster);
    
    Tcl_GetInterpPath(_interpMaster, _interpSlave);
    qDebug () << Tcl_GetStringResult C: "<<  Tcl_GetStringResult(_interpMaster);
    
    produces the output :
    Tcl_GetStringResult A: 
    Tcl_GetStringResult B: slaveName
    Tcl_GetStringResult C: slaveName slaveName
    
    instead of :
    Tcl_GetStringResult A: 
    Tcl_GetStringResult B: slaveName
    Tcl_GetStringResult C: slaveName 
    
    Just a minor bug, but the behavior is not conform to what doc says !
    
    Best-
    
  4. foundin changed to: "obsolete: 8.5.2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nicolascastagne"
  10. subsystem changed to: "20. [interp]"
  11. title changed to:
    Tcl_GetInterpPath : minor bug in result affectation
    
  12. type changed to: "Bug"