Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 25cab776f4e8866ef6301127423934f7bceb6031
Ticket: 1765225fffffffffffffffffffffffffffffffff
TclCleanupVar attempting to return value
User & Date: lvirden on 2007-08-01 11:45:56
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The CVS head snapshotted to the activestate ftp site, in ftp file tcl-20070731.tar.gz , has a bug in tcl/generic/tclVar.c .
    
    In the TclCleanupVar function - a void function - the return statement was attempting to return the value from CleanupVar. This of course resulted in a syntax error - can't return a value from a void function.
    
    The code works when you change
    
    return CleanupVar(varPtr, arrayPtr);
    to
    CleanupVar(varPtr, arrayPtr);
    return;
    
  4. foundin changed to: "obsolete: 8.5a7"
  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: "lvirden"
  10. subsystem changed to: "07. Variables"
  11. title changed to: "TclCleanupVar attempting to return value"
  12. type changed to: "Bug"