diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-27 13:36:26 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-27 13:36:26 +0000 |
commit | 51077c2c223c7d17ce9e49d5329a80701d32cba3 (patch) | |
tree | 26f919f4fdaa61e7ed71466c751babb5bf58408e /encoding.c | |
parent | 37f75ad0c4a5a9a669aa67fa5434a0cc615bb319 (diff) | |
download | ruby-51077c2c223c7d17ce9e49d5329a80701d32cba3.tar.gz |
* win32/win32.c (rb_w32_read): call ReadFile() with len = 0 before
reading really on console, because the first ReadFile() call after
PeekConsoleInput() always returns broken data. (Windows's bug).
[ruby-core:29018]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
0 files changed, 0 insertions, 0 deletions