From 844952338be1dcc2fc2e726af14cdc76c3b7ac94 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 18 Jun 2008 04:51:08 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ include/ruby/win32.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f3c0702485..c2920557db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Jun 18 13:49:58 2008 NAKAMURA Usaku + + * include/ruby/win32.h (pipe): now pipe is textmode. although this + change is experimental, it will be spec if no compatiblity problem + is reported. + Wed Jun 18 12:05:30 2008 Nobuyoshi Nakada * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search 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)