Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: aecc8667bc70518aea4dde9a37de49cbde23cd00
Ticket: 405998ffffffffffffffffffffffffffffffffff
Tcl_SetListObj fails reset obj properly
User & Date: nobody on 2001-03-05 11:39:22
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The case of no elements in Tcl_SetListObj when setting 
    the string representation to tclEmptyStringRep fails 
    to reset the length to zero.
    
    diff -rc tcl8.3.2/generic/tclListObj.c 
    tcl8.3.2.new/generic/tclListObj.c
    *** tcl8.3.2/generic/tclListObj.c       Tue Aug 10 
    22:45:11 1999
    --- tcl8.3.2.new/generic/tclListObj.c   Tue Feb 20 
    10:34:08 2001
    ***************
    *** 265,270 ****
    --- 265,271 ----
            objPtr->typePtr = &tclListType;
          } else {
            objPtr->bytes = tclEmptyStringRep;
    +       objPtr->length = 0;
          }
      }
    
    
    
  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: "nobody"
  9. subsystem changed to: "14. List Object"
  10. title changed to: "Tcl_SetListObj fails reset obj properly"
  11. type changed to: "Bug"