summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2013-02-21 21:46:24 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2013-02-21 21:46:24 +0100
commitc6d31b279b36dd89ccc2d78c2a87e4c8d1ff0c06 (patch)
treedbfdb26d89179db6cde44e6f551e4ea60c40d8f6 /configure.cmake
parente03e9aab7304395575d8ae3a54835fec854dd872 (diff)
downloadmariadb-git-c6d31b279b36dd89ccc2d78c2a87e4c8d1ff0c06.tar.gz
MDEV-4021 : Enable Ctrl-C handler when reading password, on Windows.
Prior to this patch, _getch() was used to read password input from console. getch() has a property that it reads Ctrl-C as character with ASCII code 0x03, and disregards Ctrl-C handler for current process. The fix is to use ReadConsole() API instead of getch() , after setting console mode to ENABLE_PROCESSED_INPUT - this mode allows current process to handle Ctrl-C events.
Diffstat (limited to 'configure.cmake')
0 files changed, 0 insertions, 0 deletions