Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3a9a2edf259412c347c1b9e5c43a9d0ecb4a6d5c
Ticket: 2176669fffffffffffffffffffffffffffffffff
Strange seek bug
User & Date: ferrieux on 2008-10-20 04:54:44
Changes

  1. icomment:
    Looking at the code in Tcl_Seek, there's something I don't understand: a few lines below the above test against simultaneous input and output data buffered, there is:
    
      DiscardInputQueued(statePtr, 0);
    
    whose effect is to guaranteed nothing's left in the input buffer chain.
    So, why not do it first, and avoid the error ?
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"