Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ba7942e6395c0e4538627403a5c2a8dc8dc17cbbbb59024ac2bd07a55d3e9a95
Ticket: 1873ea0ee4f01b264620f89621b98bd8895ce886
open channel "nul" within non-main thread on windows (not-console application)
User & Date: sebres on 2018-03-05 16:18:48
Changes

  1. foundin changed to: ">= 8.5"
  2. icomment:
    The same in 8.5 (also mapped to stdin, stdout and stderr), excepting the channels get the names.
    
    This is because of the fully-correct commit [c0b94338ed879e40]:
    <pre><code style="color:green;">
    +	strcpy(tmp, "stdin");
    +	strcpy(tmp, "stdout");
    +	strcpy(tmp, "stderr");
    </code></pre>
    
    But the real cause is entirely different - this is TclpGetDefaultStdChannel with not allowed duplication for std-handle, returned with GetStdHandle, so returns NULL from the Tcl_MakeFileChannel...
    
    I'll fix it for all versions >= 8.5.
    
  3. login: "sebres"
  4. mimetype: "text/x-fossil-wiki"