diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-17 09:11:28 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-17 09:11:28 +0000 |
commit | d84e1496a20faf6b28aaa432b24575abceb1e704 (patch) | |
tree | b176d1daef69046231f259d5a4f75759da15c041 | |
parent | 0226b8af3a1353eb13b1d25dc73a1131a7976d79 (diff) | |
download | ruby-d84e1496a20faf6b28aaa432b24575abceb1e704.tar.gz ruby-d84e1496a20faf6b28aaa432b24575abceb1e704.tar.xz ruby-d84e1496a20faf6b28aaa432b24575abceb1e704.zip |
* include/ruby/win32.h (pipe): expand pipe buffer size.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/ruby/win32.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Jun 17 18:11:01 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * include/ruby/win32.h (pipe): expand pipe buffer size. + Tue Jun 17 17:07:35 2008 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (CreateChild): no need to inherit handles here because diff --git a/include/ruby/win32.h b/include/ruby/win32.h index a340586d3..c9a03f0a2 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) |