Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9d856db9b365487d742c950cd6911cb42c2b2bb5
Ticket: 699739ffffffffffffffffffffffffffffffffff
app can overrun console buffer on Windows
User & Date: davygrvy on 2004-06-01 16:50:52
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    Just put tcl in the debugger to look at this.
    
    WriteFile itself is failing in ConsoleOutputProc().  I think the 
    summary of this problem is that the other end can't accept a 
    buffer this big and rather than soaking up some of it, it just 
    barfs.
    
    I don't know if there is an easy way to fix this.  Even if we 
    knew the limit ahead of time (maybe GetConsoleBufferInfo 
    could get us the answer?) we have no way for the driver to 
    intercept a setting of the buffersize from the driver side.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"