Overview
| Artifact ID: | 2e1c7327553fdeacfa92c742354e0ec6164c42fa505f036a7f0cdb6278f42dc7 |
|---|---|
| Ticket: | baa51423c28a3baf31271b979bd18cf58116a77c
tclWinConsole: needEvent variable is used uninitialized |
| User & Date: | fvogel on 2022-08-20 07:04:13 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Since [c085b9090c8ae821] (<i>New Windows console driver. Fixes [21280817d1] thread proliferation and [44bbccdd8c] fconfigure std{out,err}.</i>), in a freshly built Tcl from core-8-branch, when running "package require Tk" I get a MSVC Runtime Library debug check triggering: "Run-Time Check Failure #3: The variable 'needEvent' is being used without being initialized." I believe this comes from a missing initialization in ConsoleCheckProc in tclWinConsole.c:838 but there must be something more about this because when I add this initialization: int needEvent = 0; then the console runs (run-time check error is gone) but the continuation lines are broken in the console: it is no longer possible to enter more characters. Example: just enter: "proc a {} {", hit the enter key and it's stuck. - foundin changed to: "core-8-branch"
- is_private changed to: "0"
- login: "fvogel"
- priority changed to: "5 Medium"
- private_contact changed to: "a013af67114eccc19ad12b04f14923acea9e96b7"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "fvogel"
- subsystem changed to: "52. Portability Support"
- title changed to:
tclWinConsole: needEvent variable is used uninitialized
- type changed to: "Bug"