Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6acc08d1a527925fee8b4c6a9e46fc9c27ddf56678a2204089d484ad2a34779
Ticket: 0306a5563c65ab14410c426f59f00d714bf276fc
Writing large strings to file create wrong results
User & Date: pointsman on 2023-05-02 22:06:54
Changes

  1. closedate changed to: "2460067.42146787"
  2. closer changed to: "pointsman"
  3. icomment:
    Turns out instead of breaking up the data in Tcl_WriteObj() into MAX_INT chunks it's much easier the make the called function Write() to work correctly on larger strings.
    
    Processing in chunks has a problem with chunks that ends inbetween a multi-byte character. To work around that seemd unnecessary convoluted.
    
    So I basically restored Tcl_WriteObj() to before the [3d01d51bc4] triggered changes and made Write() Tcl_Size ready.
    
    Fixed with [36eb6e392]
    
  4. login: "pointsman"
  5. mimetype: "text/x-fossil-plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"