Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bee454c54fce2e13f60f010b934bc0047a22e4a70011fe8d075ae783c3dc45b5
Ticket: b8f575aa2398b0e44b5a037326b9d75037e2da4a
Tcl 9: eof erroneously flagged with not reported encoding read error
User & Date: pooryorick on 2023-02-17 08:05:44
Changes

  1. icomment:
    In [ecd7aaec80804dc8], I merged the fix for this issue and for [154ed7ce564a7b4c] to core-8-branch, but it was quickly reverted without explanation.  Any details that would require a TIP were commented out, so there's no reason to reject this fix on that basis.  Jan, is there something about this fix that you are opposed to?  There's a pretty broad consensus that requiring second [read] on a synchronous channel to expose the encoding error is a no-go, and there has been no other proposal on how to fix the indefinite hanging problem with [gets] in core-8-branch.  Anyone that dives into the code to fix this issue will find that the fix I've proposed is really the right one given the current implementation of the relevant functions.
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"