Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 98f0e8a56a410c71e1cc9c466c4e451ba6d57fd4
Ticket: 686782ffffffffffffffffffffffffffffffffff
Changes to Tcl_SetObjLength() break "expect -re"
User & Date: vincentdarley on 2003-02-18 17:40:19
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    As far as whether we should make this change now, or 
    not, I say fix the problem now.  Expect should really not 
    be manipulating those bytes:
    
    "Tcl_GetStringFromObj and Tcl_GetString return an 
    object's string representation..(snip)...  The storage 
    referenced by the returned byte pointer is owned by the 
    object manager and should not be modified by the 
    caller."
    
    quote from the man pages...
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. title changed to: "Changes to Tcl_SetObjLength() break "expect -re""
  5. username: "vincentdarley"