diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | include/ruby/win32.h | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Wed Jun 18 13:49:58 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * 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 <nobu@ruby-lang.org> * 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) |