Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 077fb2eb0ad681fe21160c617bafb1875f83319e
Ticket: 1901828fffffffffffffffffffffffffffffffff
Unix portability - cruft removal
User & Date: jenglish on 2008-02-27 02:23:14
Changes

  1. icomment:
    
    
    File Added - 268134: tcl-no-bad-tip35-flush.patch
    
    Logged In: YES 
    user_id=68433
    Originator: YES
    
    The initial TIP#35 implementation (patch #438509, committed 2002-02-26) called tcflush() in TtyCloseProc, which discards all untransmitted data.  This lead to problems (bug #525783, #525778), and a fix was committed 2002-03-05 that #ifdef'ed out the offending code (conditionalized on -DBAD_TIP35_FLUSH).
    
    However, the "discard untransmitted data" behavior was not, in fact, specified by TIP#35.  Related: TIP#160 (targeted for 8.6, vote still pending) proposes a "-closemode {drain|discard}" option, and notes that "drain" is the current default.
    
    Since this code has been effectively disabled since shortly after its introduction, was not specified in TIP#35, and will be superceded by TIP#160 should that be implemented, there's no need to keep the existing BAD_TIP35_FLUSH code around.  Attached patch tcl-no-bad-tip35-flush.patch can be reverted in case anyone wants it back.
    
    File Added: tcl-no-bad-tip35-flush.patch
    
    
  2. login: "jenglish"
  3. mimetype: "text/plain"
  4. username: "jenglish"