[Bug 60058] New: wineconsole: Interrupting program which calls ReadConsoleInput breaks console
http://bugs.winehq.org/show_bug.cgi?id=60058 Bug ID: 60058 Summary: wineconsole: Interrupting program which calls ReadConsoleInput breaks console Product: Wine Version: 11.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@list.winehq.org Reporter: barathrk11@gmail.com Target Milestone: --- Distribution: --- I found this bug while looking at Bug #51100 where I got the following test program from: #include <windows.h> #include <stdio.h> int wmain(void) { WCHAR buf[MAX_PATH]; DWORD count; while (1) { ReadConsoleW(GetStdHandle(STD_INPUT_HANDLE), buf, sizeof(buf)/sizeof(*buf), &count, NULL); if (!wcscmp(buf, L"quit\r\n")) break; } return 0; } Running this in wineconsole, I could freely type anything but when I interrupted the program with ctrl+c, I noticed the behaviour shown in the video. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60058 --- Comment #1 from Barath Kannan <barathrk11@gmail.com> --- Created attachment 81547 --> http://bugs.winehq.org/attachment.cgi?id=81547 Video showcasing the bug -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60058 Barath Kannan <barathrk11@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81547|0 |1 is obsolete| | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=60058 --- Comment #2 from Barath Kannan <barathrk11@gmail.com> --- Created attachment 81548 --> http://bugs.winehq.org/attachment.cgi?id=81548 Actual video showcasing the bug -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla