Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b07406a246d57aa39385a43b6190e501520f40bab681ed439a941373ce3990c6
Ticket: bda99f23936f7170e8f51e7e3eb52db794a3195c
gets stdin problem when non-blocking - Windows
User & Date: apnadkarni on 2024-02-19 12:39:54
Changes

  1. icomment:
    8.7/9.0 console driver uses a temporary buffer size of 200 (100 chars) while 8.6 uses a buffer size of 8192. The simple immediate "fix" seems to be to bump up the 9.0 buffer size (only one per process) to 8192 as in 8.6. However, I suspect that is just "postponing" the problem to entering 8192/2 characters so need to investigate further.
    
    In theory, the reads are supposed to read in buffer size chunks (e.g. 200 as of now) and pass them to Tcl piecemeal so the buffer size should not matter. Investigating further...
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"
  4. severity changed to: "Important"