Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 60dbb075ac857501b099bc1280b5cd584f397cec6e06b7bf1fda39518141cafe
Ticket: b8f575aa2398b0e44b5a037326b9d75037e2da4a
Tcl 9: eof erroneously flagged with not reported encoding read error
User & Date: pooryorick on 2023-02-03 22:34:14
Changes

  1. icomment:
    TIP 653 emerged from the process of fixing this bug.  When walking through the
    code to figure out how to fix the problem, one learns that the succesfully-read
    data has already accummulated in a result object, which must either be
    discarded or made available.  My preference is to make it available.  Since
    adding a new key in the result option dictionary proved controversial, I
    commented out the parts that do that, leaving only the part that fixes this
    bug.  Re-enabling the parts that make the partial results available is a matter
    of uncommenting a few line of code.  In my opinion making the
    sucessfully-decoded data available doesn't even require a TIP.
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"