Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 202db058f24c2ba689d31c09e5689b993d8ace0bcd5c0f30097de97b748dd830
Ticket: eb816947b39bcab21dfb538c10029ee4901d7341
Issue with binary string and split command
User & Date: dgp on 2019-09-13 14:09:20
Changes

  1. icomment:
    
    Tcl_SetByteArrayObj(objPtr, bytes, length) sets objPtr->bytes to NULL.
    
    It also fills another array objPtr->internalRep.twoPtrValue.ptr1->bytes[] and
    does not terminate that data with '\0' (by design of that internal rep), but
    that has nothing to do with what [split] examines.
    
  2. login: "dgp"
  3. mimetype: "text/plain"