Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 53ff9f0ed15245ad421bf1164e6329850257e8c1
Ticket: 525783ffffffffffffffffffffffffffffffffff
Need optional full flush on [exit] for serial
User & Date: hobbs on 2002-03-06 03:07:58
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    A much more reliable test script is:
    
    set size [lindex $argv 0]
    if {![string is int -strict $size]} { set size 100 }
    for {set i 0} {$i < $size} {incr i} {
        puts $i
    }
    puts stderr done
    
    by adding in the data on the extra channel, that seems to 
    add enough perturbation to the tty's to always show the bug.
    
    However, simply changing "tcflush(...)" to "tcdrain((fd))" 
    solves all the problems that I can repeat.
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"