diff options
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 8bf9aecfcb..0d99c6e6b8 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -5056,7 +5056,7 @@ rb_w32_read(int fd, void *buf, size_t size) /* get rid of console reading bug */ if (isconsole) { if (start) - len = min(16*1024, size); + len = 1; else { len = 0; start = 1; |