pike.git / src / modules / _Stdio / file.c

version» Context lines:

pike.git/src/modules/_Stdio/file.c:4421:   #endif      #ifdef UNIX_SOCKETS_WORKS_WITH_SHUTDOWN   #undef UNIX_SOCKET_CAPABILITIES   #define UNIX_SOCKET_CAPABILITIES (fd_INTERPROCESSABLE | fd_BIDIRECTIONAL | fd_CAN_NONBLOCK | fd_CAN_SHUTDOWN | fd_SEND_FD)   #endif      #if defined(HAVE_SOCKETPAIR)    if(!(type & ~(UNIX_SOCKET_CAPABILITIES)))    { -  i=fd_socketpair(AF_UNIX, SOCK_STREAM, 0, &inout[0]); +  i=fd_socketpair(AF_UNIX, SOCK_STREAM, 0, inout);    if (i >= 0) {    type=UNIX_SOCKET_CAPABILITIES;    break;    }    }   #endif      #ifndef UNIX_SOCKETS_WORKS_WITH_SHUTDOWN    if(!(type & ~(SOCKET_CAPABILITIES)))    { -  i=socketpair_ultra(AF_UNIX, SOCK_STREAM, 0, &inout[0]); +  i=socketpair_ultra(AF_UNIX, SOCK_STREAM, 0, inout);    if (i >= 0) {    type=SOCKET_CAPABILITIES;    break;    }    }   #endif       if (!i) {    Pike_error("Cannot create a pipe matching those parameters.\n");    }