Artifacts Associated With Ticket 967195ffffffffffffffffffffffffffffffffff
Ticket change [670ced15f7] (rid 102834) by kennykb on 2004-06-05 17:37:36:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Platform: Win2k Compiler: mingw gcc Configuration options: --enable-symbols --enable-threads With the above configuration, the following error occurs when running make TESTFLAGS='-singleproc 1' test. Without the '-singleproc 1' option, every test file fails with a verbose error message because of this bug. The test works correctly under 8.4 (tip of branch) or under VC++ - the problem is specific to mingw and 8.5. ==== winpipe-8.19 ensure parse_cmdline isn't doing wildcard replacement FAILED ==== Contents of test case: exec [interpreter] $path(echoArgs.tcl) foo * makefile.?c bar ---- Result was: {C:/Documents and Settings/kennykb/My Documents/SourceForge/tcl/NSK1KENNKEVI01-m ingw/echoArgs.tcl} {foo big cat32.exe cat32.o config.log config.status config.st atus.lineno echoArgs.tcl libtcl85g.a libtcldde13g.a libtclreg11g.a libtclstub85g .a little Makefile nothing regcomp.o regerror.o regexec.o regfree.o stderr stdou t strftime.o strtoll.o strtoull.o stub16.o tcl.hpj tcl.res.o tcl85g.dll tclAlloc .o tclAppInit.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o tclCmd AH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o tclConfig.o tclConfig.sh tclDate.o tcldde13g.dll tclDictObj.o tclEncoding.o tclEnv.o tclEven t.o tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o tclInde xObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink. o tclListObj.o tclLiteral.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPathObj.o tclpip85g.dll tclPipe.o tclPk g.o tclPkgConfig.o tclPosixStr.o tclPreserve.o tclProc.o tclreg11g.dll tclRegexp .o tclResolve.o tclResult.o tclScan.o tclsh.res.o tclsh85g.exe tclStringObj.o tc lStubInit.o tclStubLib.o tcltest.exe tclTest.o tclTestObj.o tclTestProcBodyObj.o tclThread.o tclThreadAlloc.o tclThreadJoin.o tclThreadTest.o tclTimer.o tclTrac e.o tclUtf.o tclUtil.o tclVar.o tclWin32Dll.o tclWinChan.o tclWinConsole.o tclWi nDde.o tclWinError.o tclWinFCmd.o tclWinFile.o tclWinInit.o tclWinLoad.o tclWinN otify.o tclWinPipe.o tclWinReg.o tclWinSerial.o tclWinSock.o tclWinTest.o tclWin Thrd.o tclWinTime.o testMain.o makefile.?c bar} ---- Result should have been (exact matching): {C:/Documents and Settings/kennykb/My Documents/SourceForge/tcl/NSK1KENNKEVI01-m ingw/echoArgs.tcl} {foo * makefile.?c bar} ==== winpipe-8.19 FAILED - foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "kennykb"
- subsystem initialized to: "27. Channel Types"
- title initialized to: "Test failures on mingw build"
- type initialized to: "Bug"
Ticket change [d1b7364f55] (rid 113402) by kennykb on 2004-06-12 09:08:34:
- closedate changed to: "2004-06-12T02:08:34"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 mingw runtime still needs the old 'setargv' function that was removed back in February. I put it back, conditioned on #if defined( __GNUC__ )
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"
Ticket change [a1cc661aaf] (rid 109786) by nijtmans on 2011-11-30 20:10:42:
- assignee changed to: "nijtmans"
- icomment:
Since a few years, mingw-w64 is available, which does the command line parsing correctly, So I would like to finally get rid of the setargv function: This should not be Tcl's responsibility. Working on that.
- login: "nijtmans"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "nijtmans"
Ticket change [b1891d441f] (rid 98162) by dgp on 2011-12-01 04:06:47:
- icomment:
Why does this bug involve changes to the tcltest package?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0d173d4453] (rid 114297) by nijtmans on 2011-12-01 04:10:27:
- icomment:
Modified tcltest.tcl in all branches such that it no longer transfers default configuration arguments to its sub-processes. This is the simplest fix, to make at least tcltest work in all situations, no matter how tclsh/tcltest expands its arguments. It's an improvement which doesn't hurt: It only modifies the command line arguments used between the main tcltest process and its sub-processes, it's not visible outside.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [881de83109] (rid 131817) by dgp on 2011-12-01 04:12:23:
- icomment:
As the tcltest maintainer, I'd like to review patches.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [393c6f4b81] (rid 112356) by dgp on 2011-12-01 04:16:23:
- icomment:
I see this reduces the number of arguments passed to child processes in the -singleproc 0 mode. That seems fine. Is the length of the command line an issue here?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c3a6144238] (rid 111701) by nijtmans on 2011-12-01 15:56:27:
- 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 - login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [e94193525c] (rid 104789) by nijtmans on 2012-06-12 20:09:06:
- assignee changed to: "dgp"
- closedate changed to: "2012-06-12T13:09:06"
- closer changed to: "nijtmans"
- icomment:
I think this one can be closed now.
- login: "nijtmans"
- mimetype: "text/plain"
- status changed to: "Pending"
- username: "nijtmans"
Ticket change [7f923d15c8] (rid 97583) by nijtmans on 2012-06-19 17:43:08:
- closedate changed to: "2012-06-19T10:43:08"
- closer changed to: "nijtmans"
- icomment:
allow_comments - 1
- login: "nijtmans"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "nijtmans"