mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -253,7 +253,7 @@ rb_cloexec_pipe(int fildes[2])
|
|||
static int try_pipe2 = 1;
|
||||
if (try_pipe2) {
|
||||
ret = pipe2(fildes, O_CLOEXEC);
|
||||
#ifdef defined(__NetBSD__)
|
||||
#ifdef __NetBSD__
|
||||
/* pipe2 is available since NetBSD 6.0. */
|
||||
if (ret > 0)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue