Skip to content
Tcl Source Code Artifact [5ff27a085e]
Login

Artifact [5ff27a085e]

Artifact 5ff27a085ed5c9926cc1addb0f037c680818b9fe:

Ticket change [5ff27a085e] - Ticket [467505ffffffffff|467505ffff] <i>embedded interp crashes on win 2000</i> status still Open with 4 other changes by davygrvy on 2001-11-07 13:46:14.
D 2001-11-07T13:46:14
J icomment Logged\sIn:\sYES\s\nuser_id=7549\n\nThe\sbug\sis\sin\sWin2K\sand\sTcl.\s\sTcl_MakeFileChannel()\swas\srepaired\sin\s8.4\smore\sthan\sa\syear\sago.\n\nThe\sSTARTUPINFO\shanded\sto\sthe\sGUI\sapplication\sthat\sembedds\sTcl,\shas\sinvalid\sdata\sin\sthe\s3\sstandard\shandles:\n\n.hStdInput\n.hStdOutput\n.hStdError\n\nThey\swere\spreviously\saccepted\swithout\squestion\sand\sonly\stested\sif\s==\sNULL\s||\s==\sINVALID_HANDLE_VALUE.\s\sBut\sWin2K\nis\sputting\sgarbage\sthere.\s\sSee\sTcl_MakeFileChannel()\sin\stclWinChan.c\s(HEAD\scode\sin\sCVS)\sfor\sthe\sbig\seffort\sI\sdid\swith\s__try/__except.\n\nA\spossibly\sbetter\scheck\smight\sbe\sto\suse\sHasConsole()\sfirst,\sto\ssee\sif\sthe\sdata\sin\sthe\sSTARTUPINFO\sshould\sbe\sworth\schecking.\s\sThe\sbelt\sand\ssuspender\sexception\shandling\sin\sTcl_MakeFileChannel()\scould\sbe\sleft\sin\splace,\sthough.\n\nThe\serror\syou\sshould\sbe\sgetting\sis:\ncan\snot\sfind\schannel\snamed\s"stdout"\n\n[puts\s""]\swill\snever\swork\sin\syour\scase\sanyways,\sas\sthere\sis\sno\sdestination\sin\sa\sGUI\sapplication\sunless\sit\scalls\sAllocConsole()\sto\screate\sone.\n\nI'll\shave\sa\slook\sat\syour\scode...\n
J login davygrvy
J mimetype text/plain
J username davygrvy
K 467505ffffffffffffffffffffffffffffffffff
U davygrvy
Z 6e0aed9c6f7195e7b4a91e4069284c9e