Fix previous commit (r33586).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ca6311b0b5
commit
6a96646de2
2
io.c
2
io.c
@ -253,7 +253,7 @@ rb_cloexec_pipe(int fildes[2])
|
|||||||
static int try_pipe2 = 1;
|
static int try_pipe2 = 1;
|
||||||
if (try_pipe2) {
|
if (try_pipe2) {
|
||||||
ret = pipe2(fildes, O_CLOEXEC);
|
ret = pipe2(fildes, O_CLOEXEC);
|
||||||
#ifdef defined(__NetBSD__)
|
#ifdef __NetBSD__
|
||||||
/* pipe2 is available since NetBSD 6.0. */
|
/* pipe2 is available since NetBSD 6.0. */
|
||||||
if (ret > 0)
|
if (ret > 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user