Skip to content
Tcl Source Code Artifact [2e1c732755]
Login

Artifact [2e1c732755]

Artifact 2e1c7327553fdeacfa92c742354e0ec6164c42fa505f036a7f0cdb6278f42dc7:

Ticket change [2e1c732755] - New ticket [baa51423c28a3baf|baa51423c2] <i>tclWinConsole: needEvent variable is used uninitialized</i>. by fvogel on 2022-08-20 07:04:13.
D 2022-08-20T07:04:13.553
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Since\s[c085b9090c8ae821]\s(<i>New\sWindows\sconsole\sdriver.\sFixes\s[21280817d1]\sthread\sproliferation\sand\s[44bbccdd8c]\sfconfigure\sstd{out,err}.</i>),\sin\sa\sfreshly\sbuilt\sTcl\sfrom\score-8-branch,\swhen\srunning\s"package\srequire\sTk"\sI\sget\sa\sMSVC\sRuntime\sLibrary\sdebug\scheck\striggering:\s"Run-Time\sCheck\sFailure\s#3:\sThe\svariable\s'needEvent'\sis\sbeing\sused\swithout\sbeing\sinitialized."\r\n\r\nI\sbelieve\sthis\scomes\sfrom\sa\smissing\sinitialization\sin\sConsoleCheckProc\sin\stclWinConsole.c:838\sbut\sthere\smust\sbe\ssomething\smore\sabout\sthis\sbecause\swhen\sI\sadd\sthis\sinitialization:\r\n\r\n\s\s\s\sint\sneedEvent\s=\s0;\r\n\r\nthen\sthe\sconsole\sruns\s(run-time\scheck\serror\sis\sgone)\sbut\sthe\scontinuation\slines\sare\sbroken\sin\sthe\sconsole:\sit\sis\sno\slonger\spossible\sto\senter\smore\scharacters.\sExample:\sjust\senter:\s"proc\sa\s{}\s{",\shit\sthe\senter\skey\sand\sit's\sstuck.
J foundin core-8-branch
J is_private 0
J login fvogel
J priority 5\sMedium
J private_contact a013af67114eccc19ad12b04f14923acea9e96b7
J resolution None
J severity Minor
J status Open
J submitter fvogel
J subsystem 52.\sPortability\sSupport
J title tclWinConsole:\sneedEvent\svariable\sis\sused\suninitialized
J type Bug
K baa51423c28a3baf31271b979bd18cf58116a77c
U fvogel
Z 28490b737012e4e8b40ec5a4db8452b2