1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/win32.h (pipe): prohibit inheritance.

fixed: [ruby-dev:35421]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-07-10 20:09:38 +00:00
parent df91d39c94
commit 989d3ef272
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Jul 11 05:07:46 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* include/ruby/win32.h (pipe): prohibit inheritance.
fixed: [ruby-dev:35421]
Fri Jul 11 00:56:46 2008 Koichi Sasada <ko1@atdot.net>
* thread.c (thread_create_core): fix GC problem.

View file

@ -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, 0)
#define pipe(p) _pipe(p, 65536L, _O_NOINHERIT)
#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)