diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-21 06:01:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-03-21 06:01:29 +0000 |
commit | add8e1f5bb59dc8aa35d0493b19af3bebe4e4876 (patch) | |
tree | 2f56817754e219ed19087639fe1f3b650b0d1348 /ChangeLog | |
parent | 0d8e684d3200763c49d114d5bdd943f78547c19b (diff) | |
download | ruby-add8e1f5bb59dc8aa35d0493b19af3bebe4e4876.tar.gz |
console.c: winsize on Windows
* ext/io/console/console.c (console_set_winsize): use handle for
writing. GetConsoleScreenBufferInfo seems failing on a handle
for reading.
* io.c: [DOC] update the example of IO#winsize to use $stdout
instead of $stdin, which does not work on Windows. a patch by
Jan Lelis <mail AT janlelis.de> at [ruby-core:68574].
[Bug #10986]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Sat Mar 21 15:01:26 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/io/console/console.c (console_set_winsize): use handle for + writing. GetConsoleScreenBufferInfo seems failing on a handle + for reading. + + * io.c: [DOC] update the example of IO#winsize to use $stdout + instead of $stdin, which does not work on Windows. a patch by + Jan Lelis <mail AT janlelis.de> at [ruby-core:68574]. + [Bug #10986] + Fri Mar 20 18:41:03 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * proc.c (respond_to_missing_p): check if the receiver responds to |