From e78beed4994b7db355a06b80b1b06026d991d38c Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 15 Apr 2016 01:07:14 +0000 Subject: 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 --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index ecbb49e764..a145661e48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Fri Apr 15 10:07:11 2016 Nobuyoshi Nakada + + * 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. + Fri Apr 15 09:02:58 2016 Nobuyoshi Nakada * ext/io/console/console.c (rb_sym2str): fallback definition for -- cgit v1.2.3