Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6e06d19b639ea005d68c99f803efeea62f7ef7b4
Ticket: 1276628fffffffffffffffffffffffffffffffff
TCL_CHANNEL_TYPE_4 inconsistent
User & Date: andreas_kupries on 2005-10-06 01:04:40
Changes

  1. icomment:
    Logged In: YES 
    user_id=75003
    
    Hm.
    
    In the current situation a TYPE_4 channel defining a
    truncateProc is perfectly usable in both 8.5. and 8.4. As
    8.4 has no Tcl_TruncateChannel API  it will simply never
    acess this element. It is no matter that the structure is
    actually larger than 8.4 believes it is.
    
    If we go TYPE_5 for the truncateProc the channel would be
    unusable in 8.4, because 8.4 is not able to recognize
    TYPE_5. Actually it will think that the channel is TYPE_1
    and dereference the version number to get the blockmode
    proc, crashing the core.
    
    
    
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"