Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8a3890486216ca47968a7ff3833220330a063423
Ticket: 6141c1518631072728c55b18a6ae4ebbf1a0a3a2
Transchan loses input data when written to
User & Date: aku on 2016-01-21 03:34:12
Changes

  1. icomment:
    Oopses.
    
    Currently trying to remember of the transchan driver struct is allocated dynamically or not.
    
    If the driver struct is static then it cannot do anything but set its own seekproc to cover the bases. If the struct is dynamic then we should be able to set the seekProc based on the information in either the underlying transform, or in the base channel (**). In that case however we have to also find a place where we can safely release this structure again, to prevent leakage.
    
    (Ad **) I semi-remember/believe that you can follow pointers to the top- and bottom-channel structures. The bottom would be the base. If so, then another possibility is to always check the seekProc of the bottom of the stack.
    
    I have put this on my TODO list now, with hope of getting to it coming weekend.
    Currently focused on various red tape in RL to crunch through.
    
    Feel free to re-assign to me.
    
  2. login: "aku"
  3. mimetype: "text/plain"