summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-18 04:51:08 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-18 04:51:08 +0000
commit844952338be1dcc2fc2e726af14cdc76c3b7ac94 (patch)
tree5871431ef33291c0bd342f6362e2cd4fea4074cb /include
parent02337b089e76a70ffc269beda8d778a175d575d3 (diff)
* 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
Diffstat (limited to 'include')
-rw-r--r--include/ruby/win32.h2
1 files changed, 1 insertions, 1 deletions
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)