From 844952338be1dcc2fc2e726af14cdc76c3b7ac94 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 18 Jun 2008 04:51:08 +0000 Subject: * include/ruby/win32.h (pipe): now pipe is textmode. although this change is experimental, it will be spec if no compatiblity problem is reported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ruby') diff --git a/include/ruby/win32.h b/include/ruby/win32.h index c9a03f0a23..39dde94c84 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, 65536L, O_BINARY) +#define pipe(p) _pipe(p, 65536L, 0) #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) -- cgit v1.2.3