diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 01:07:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 01:07:14 +0000 |
commit | e78beed4994b7db355a06b80b1b06026d991d38c (patch) | |
tree | 8ddbf0a60c7c7720267866a557d7babd39292d7d /bin | |
parent | caaf4f2aea6a63be691ced359c4ad85781fb60b8 (diff) | |
download | ruby-e78beed4994b7db355a06b80b1b06026d991d38c.tar.gz |
io/console: unknown key code for names with nul
* ext/io/console/console.c (console_key_pressed_p): raise the same
exception, "unknown virtual key code", for names with nul chars.
though console_win32_vk() considers the length and can deal with
nul chars, rb_sprintf() raised at PRIsVALUE previously, so quote
it if it is unprintable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions