ruby-changes:9170
From: yugui <ko1@a...>
Date: Sat, 13 Dec 2008 10:59:21 +0900 (JST)
Subject: [ruby-changes:9170] Ruby:r20707 (ruby_1_9_1): merges r20663 from trunk into ruby_1_9_1.
yugui 2008-12-13 10:59:02 +0900 (Sat, 13 Dec 2008) New Revision: 20707 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20707 Log: merges r20663 from trunk into ruby_1_9_1. * ext/readline/readline.c (readline_readline): changed the message of IOError to 'closed stdin' from 'stdin closed' if stdin was closed. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/ext/readline/readline.c Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 20706) +++ ruby_1_9_1/ChangeLog (revision 20707) @@ -1,3 +1,9 @@ +Fri Dec 12 19:13:43 2008 TAKAO Kouji <kouji@t...> + + * ext/readline/readline.c (readline_readline): changed the message + of IOError to 'closed stdin' from 'stdin closed' if stdin was + closed. + Fri Dec 12 11:00:52 2008 Nobuyoshi Nakada <nobu@r...> * load.c (rb_feature_p): load path must be expanded. Index: ruby_1_9_1/ext/readline/readline.c =================================================================== --- ruby_1_9_1/ext/readline/readline.c (revision 20706) +++ ruby_1_9_1/ext/readline/readline.c (revision 20707) @@ -223,7 +223,7 @@ prompt = RSTRING_PTR(tmp); } - if (!isatty(0) && errno == EBADF) rb_raise(rb_eIOError, "stdin closed"); + if (!isatty(0) && errno == EBADF) rb_raise(rb_eIOError, "closed stdin"); buff = (char*)rb_protect((VALUE(*)_((VALUE)))readline, (VALUE)prompt, &status); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/