Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae32b4646ed38d2aea6c04d17c5bcb08197b8bc0
Ticket: 686782ffffffffffffffffffffffffffffffffff
Changes to Tcl_SetObjLength() break "expect -re"
User & Date: vincentdarley on 2003-02-18 17:04:16
Changes

  1. icomment:
    
    
    File Added - 42755: stringUtf.diff
    
    Logged In: YES 
    user_id=32170
    
    You've hit the nail on the head there.  objPtr->bytes 
    should be considered read-only.  What we need is a new 
    API which removes the unicode rep entirely.  There are 
    actually a few places in Tcl's core which do this too.
    
    I've attached a patch which fixes the core areas.  
    Daniel's patch should also be applied.  However, it 
    looks as if expect.c needs fixing too.
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. title changed to: "Changes to Tcl_SetObjLength() break "expect -re""
  5. username: "vincentdarley"