Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c457c85abe29d695e4c5665964d39eb72a4f6c65614a5255f11821427f84a413
Ticket: fa3d9fd818fa0072b60dcd14614ebf33d90e4d6b
[fcopy $chan1 $chan2 -size $size] is not [puts -nonewline $chan2 [read $chan1 -size $size]
User & Date: pooryorick on 2023-04-05 17:10:51
Changes

  1. icomment:
    I believe the test failures on Windows are related to the fact that
    <code>Tcl_UtfToExternal()</code>
    [https://core.tcl-lang.org/tcl/file?udc=1&ln=1713&ci=b27eacb7fcde86db&name=generic%2FtclEncoding.c|sets
    the encoding to the system encoding] when encoding is <code>NULL</code>.  I
    don't know why the tests fail only with the msvc build though.  The design
    problem is that in <code>ChannelState.encoding</code>, <code>NULL</code>
    represents the binary encoding, whereas in <Tcl_UtfToExternal()</code>,
    <code>NULL</code> represents the system encoding.  There are probably several
    ways to fix that, with some of those ways being more hacky than others.
    
  2. login: "pooryorick"
  3. mimetype: "text/x-fossil-wiki"
  4. priority changed to: "1 Zero"
  5. resolution changed to: "Accepted"
  6. status changed to: "Open"