From 5e54153132d4bee7e9e484143f7b984663c37feb Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 17 Jun 2008 09:11:28 +0000 Subject: [PATCH] * include/ruby/win32.h (pipe): expand pipe buffer size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ include/ruby/win32.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 46ae8cab20..135d4ec557 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 17 18:11:01 2008 NAKAMURA Usaku + + * include/ruby/win32.h (pipe): expand pipe buffer size. + Tue Jun 17 17:07:35 2008 NAKAMURA Usaku * win32/win32.c (CreateChild): no need to inherit handles here because diff --git a/include/ruby/win32.h b/include/ruby/win32.h index a340586d32..c9a03f0a23 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -134,7 +134,7 @@ extern DWORD rb_w32_osid(void); #define utime(_p, _t) rb_w32_utime(_p, _t) #define lseek(_f, _o, _w) _lseeki64(_f, _o, _w) -#define pipe(p) _pipe(p, 2048L, O_BINARY) +#define pipe(p) _pipe(p, 65536L, O_BINARY) #define close(h) rb_w32_close(h) #define fclose(f) rb_w32_fclose(f) #define read(f, b, s) rb_w32_read(f, b, s)