summaryrefslogtreecommitdiffstats
path: root/include/ruby/win32.h
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
commit3e54a597b75179f1db220de0274e186bcdd7516a (patch)
tree5871431ef33291c0bd342f6362e2cd4fea4074cb /include/ruby/win32.h
parent9213040c9924ecffa0acff52b4da722ab520e84a (diff)
downloadruby-3e54a597b75179f1db220de0274e186bcdd7516a.tar.gz
ruby-3e54a597b75179f1db220de0274e186bcdd7516a.tar.xz
ruby-3e54a597b75179f1db220de0274e186bcdd7516a.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@17400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/win32.h')
-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 c9a03f0a2..39dde94c8 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)