ruby-changes:8969
From: yugui <ko1@a...>
Date: Thu, 4 Dec 2008 17:57:12 +0900 (JST)
Subject: [ruby-changes:8969] Ruby:r20507 (ruby_1_9_1): merges r20490 from trunk into ruby_1_9_1.
yugui 2008-12-04 17:56:02 +0900 (Thu, 04 Dec 2008) New Revision: 20507 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20507 Log: merges r20490 from trunk into ruby_1_9_1. * ext/curses/curses.c (curses_getch): no ISPRINT(). [ruby-core:20294] Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/ext/curses/curses.c Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 20506) +++ ruby_1_9_1/ChangeLog (revision 20507) @@ -3,6 +3,8 @@ * ext/curses/curses.c (window_getch): avoid ISPRINT() macro which has an issue with OpenSolaris. [ruby-core:20189] + * ext/curses/curses.c (curses_getch): no ISPRINT(). [ruby-core:20294] + * signal.c (ruby_signal): EINVAL from sigaction(2) is not a bug. Thu Dec 4 11:38:40 2008 Akinori MUSHA <knu@i...> Index: ruby_1_9_1/ext/curses/curses.c =================================================================== --- ruby_1_9_1/ext/curses/curses.c (revision 20506) +++ ruby_1_9_1/ext/curses/curses.c (revision 20507) @@ -1110,7 +1110,7 @@ GetWINDOW(obj, winp); c = wgetch(winp->window); if (c == EOF) return Qnil; - if (ISPRINT(c)) { + if (rb_isprint(c)) { char ch = (char)c; return rb_locale_str_new(&ch, 1); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/