Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f51006574e3188c405f67684c2483faaca08200fa6184cfe165975fd64aa12f0
Ticket: b3977d199b08e3979a8da970553d5209b3042e9c
Channel gets inserts spurious empty lines on receiving torn CR-LF
User & Date: sebres on 2022-07-21 19:26:50
Changes

  1. icomment:
    [350f5b9a9e694bca] implements the test-cases covering the -translation auto bug, just ...
    
    Just now I guess I found another inconsistency related to auto translation by pure "\r" EOL-char: I wanted to add regression test (which tcl seems to miss right now) to cover simple QA communication with auto-translation for CR-only case and the test failed after all - it must generate the same result by "cr" and "auto" translation, but it seems to truncate 1 char received by [gets] in second QA round in "auto" translation case:
    <code><pre>
        ---- Result was:
        <b style="color:red">{cr lf} {really client?} yes auto {unexpected input "really client"} wrong</b>
        ---- Result should have been (exact matching):
        <b style="color:green">{cr lf} {really client?} yes auto {really client?} yes</b>
        <b>==== io-29.36.1 FAILED</b>
    </pre></code>
    This is really weird, because I could swear I saw that working, just tested it with older 8.5 and the result is the same
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"