Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c3a61442381a78dcba8d1a6eb1f3426a9744d6ce
Ticket: 967195ffffffffffffffffffffffffffffffffff
Test failures on mingw build
User & Date: nijtmans on 2011-12-01 15:56:27
Changes

  1. icomment:
    The issue was not the length of the command line, but the
    fact that the command line contains '*' as one of the
    arguments. In an (incorrectly) built tclsh, this expands
    to multiple arguments, which screws up all Tcl tests,
    not only the ones testing command line arguments.
    
    My further ideas have nothing to do with tcltest, but
    at least this change allows me to concentrate
    on the real problem here.
    
    Further idea: backport handling of
    TCL_BROKEN_MAINARGS from Tcl 8.6
    to 8.5 and 8.4, so the setargv() function
    is only used when necessary (i.e with
    cygwin and mingw32, but not mingw-w64).
    
    Final step: I would like to discuss on Tcl-Core
    removing support for mingw32 in Tcl 8.6:
    There is an alternative now (mingw-w64)
    which does a much better job, not only
    in command line handling but in much
    more areas. This means that the function
    setargv() finally can be removed completely.
    People ignoring this, still using mingw32,
    will have a few failing tests, like winpipe-8.19,
    but those rightfully point to bugs in mingw32.
    
    Regards,
           Jan Nijtmans
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"