summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-02 04:49:28 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-02 04:49:28 +0000
commit77049334aa25b0bc93558b443e5f6072cb3a932c (patch)
tree5528ed1e96c740056ff4b0238d83d12d149cdd31 /win32
parent6f3225f69890da5ed192d191d01462e03cfd6735 (diff)
* win32/win32.c (rb_w32_read): rollback debug code of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
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;