Project

General

Profile

« Previous | Next » 

Revision 51077c2c

Added by U.Nakamura over 15 years ago

  • 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